| 21478 |
rajender |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<!-- Copyright (C) 2012 The Android Open Source Project
|
|
|
3 |
|
|
|
4 |
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
5 |
you may not use this file except in compliance with the License.
|
|
|
6 |
You may obtain a copy of the License at
|
|
|
7 |
|
|
|
8 |
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
9 |
|
|
|
10 |
Unless required by applicable law or agreed to in writing, software
|
|
|
11 |
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
13 |
See the License for the specific language governing permissions and
|
|
|
14 |
limitations under the License.
|
|
|
15 |
-->
|
|
|
16 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
17 |
package="com.google.firebase.iid">
|
|
|
18 |
<uses-sdk android:minSdkVersion="9"/>
|
|
|
19 |
|
|
|
20 |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
21 |
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
22 |
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
23 |
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
|
|
24 |
|
|
|
25 |
<permission android:name="${applicationId}.permission.C2D_MESSAGE"
|
|
|
26 |
android:protectionLevel="signature" />
|
|
|
27 |
|
|
|
28 |
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
|
|
|
29 |
|
|
|
30 |
<application>
|
|
|
31 |
|
|
|
32 |
<receiver
|
|
|
33 |
android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver"
|
|
|
34 |
android:exported="true"
|
|
|
35 |
android:permission="com.google.android.c2dm.permission.SEND" >
|
|
|
36 |
<intent-filter>
|
|
|
37 |
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
|
|
38 |
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
|
|
|
39 |
<category android:name="${applicationId}" />
|
|
|
40 |
</intent-filter>
|
|
|
41 |
</receiver>
|
|
|
42 |
|
|
|
43 |
<!-- Internal (not exported) receiver used by the app to start its own exported services
|
|
|
44 |
without risk of being spoofed. -->
|
|
|
45 |
<receiver
|
|
|
46 |
android:name="com.google.firebase.iid.FirebaseInstanceIdInternalReceiver"
|
|
|
47 |
android:exported="false" />
|
|
|
48 |
|
|
|
49 |
<!-- FirebaseInstanceIdService performs security checks at runtime,
|
|
|
50 |
no need for explicit permissions despite exported="true" -->
|
|
|
51 |
<service
|
|
|
52 |
android:name="com.google.firebase.iid.FirebaseInstanceIdService"
|
|
|
53 |
android:exported="true">
|
|
|
54 |
<intent-filter android:priority="-500">
|
|
|
55 |
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
|
|
|
56 |
</intent-filter>
|
|
|
57 |
</service>
|
|
|
58 |
|
|
|
59 |
</application>
|
|
|
60 |
</manifest>
|