-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
63 lines (55 loc) · 2.76 KB
/
AndroidManifest.xml
File metadata and controls
63 lines (55 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.messaging.testapp"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:targetSdkVersion="28" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
android:name="com.google.android.messaging.testapp.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission
android:name="com.google.android.messaging.testapp.permission.C2D_MESSAGE" />
<application android:label="@string/app_name">
<!-- The TestappNativeActivity is a class that extends NativeActivity to
work around a known issue when receiving notification data payloads in
the background. -->
<activity android:name="com.google.firebase.example.TestappNativeActivity"
android:exported = "true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize"
android:launchMode="singleTop">
<meta-data android:name="android.app.lib_name"
android:value="android_main" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!-- To take advantage of deep links in Firebase Messages on Android, your
app must be configured to listen for links to your domain. Update the
URLs in the following intent-filter to enable links for your app. -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:host="change-this-domain.example.com" android:scheme="http"/>
<data android:host="change-this-domain.example.com" android:scheme="https"/>
</intent-filter>
</activity>
<service android:name="com.google.firebase.messaging.cpp.ListenerService"
android:exported="false" >
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name="com.google.firebase.messaging.cpp.RegistrationIntentService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="false" >
</service>
<service android:name="com.google.firebase.messaging.MessageForwardingService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="false" >
</service>
</application>
</manifest>