1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : tools =" http://schemas.android.com/tools" >
4
+
5
+ <uses-permission android : name =" android.permission.INTERNET" />
6
+ <uses-permission android : name =" android.permission.POST_NOTIFICATIONS" />
7
+ <uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
8
+ <uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
9
+ <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
10
+
11
+ <application
12
+ android : allowBackup =" true"
13
+ android : dataExtractionRules =" @xml/data_extraction_rules"
14
+ android : fullBackupContent =" @xml/backup_rules"
15
+ android : icon =" @mipmap/ic_launcher"
16
+ android : label =" @string/app_name"
17
+ android : roundIcon =" @mipmap/ic_launcher_round"
18
+ android : supportsRtl =" true"
19
+ android : theme =" @style/Theme.PnfpbAndroid"
20
+ tools : targetApi =" 31" >
21
+ <!-- [START fcm_default_icon] -->
22
+ <!-- Set custom default icon. This is used when no icon is set for incoming notification messages.
23
+ See README(https://goo.gl/l4GJaQ) for more. -->
24
+ <meta-data
25
+ android : name =" com.google.firebase.messaging.default_notification_icon"
26
+ android : resource =" @mipmap/ic_launcher_round" />
27
+ <!-- Set color used with incoming notification messages. This is used when no color is set for the incoming
28
+ notification message. See README(https://goo.gl/6BKBk7) for more. -->
29
+ <!-- meta-data
30
+ android:name="com.google.firebase.messaging.default_notification_color"
31
+ android:resource="@color/colorAccent" / -->
32
+ <!-- [END fcm_default_icon] -->
33
+ <!-- [START fcm_default_channel] -->
34
+ <meta-data
35
+ android : name =" com.google.firebase.messaging.default_notification_channel_id"
36
+ android : value =" @string/default_notification_channel_id" />
37
+ <!-- [END fcm_default_channel] -->
38
+ <!-- [START fcm_disable_auto_init] -->
39
+ <meta-data
40
+ android : name =" firebase_messaging_auto_init_enabled"
41
+ android : value =" false" />
42
+ <meta-data
43
+ android : name =" firebase_analytics_collection_enabled"
44
+ android : value =" false" />
45
+ <!-- [END fcm_disable_auto_init] -->
46
+ <activity
47
+ android : name =" com.sample.pnfpbandroid.MainActivity"
48
+ android : exported =" true" >
49
+ <intent-filter >
50
+ <action android : name =" android.intent.action.MAIN" />
51
+
52
+ <category android : name =" android.intent.category.LAUNCHER" />
53
+ </intent-filter >
54
+ </activity >
55
+ <!-- [START firebase_service] -->
56
+ <service
57
+ android : name =" com.sample.pnfpbandroid.MyFirebaseMessagingService"
58
+ android : exported =" false" >
59
+ <intent-filter >
60
+ <action android : name =" com.google.firebase.MESSAGING_EVENT" />
61
+ </intent-filter >
62
+ </service >
63
+ <!-- [END firebase_service] -->
64
+ </application >
65
+
66
+ </manifest >
0 commit comments