|
@@ -1,12 +1,13 @@
|
1
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="fr.amicaleinsat.application">
|
|
1
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+ package="fr.amicaleinsat.application">
|
2
|
3
|
<uses-permission android:name="android.permission.INTERNET"/>
|
3
|
4
|
<uses-permission android:name="android.permission.CAMERA"/>
|
4
|
|
- <uses-permission android:name="android.permission.WAKE_LOCK" />
|
5
|
|
- <uses-permission android:name="android.permission.VIBRATE" />
|
|
5
|
+ <uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
6
|
+ <uses-permission android:name="android.permission.VIBRATE"/>
|
6
|
7
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
7
|
8
|
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE"/>
|
8
|
|
-
|
9
|
9
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
|
10
|
+
|
10
|
11
|
<application
|
11
|
12
|
android:name=".MainApplication"
|
12
|
13
|
android:label="@string/app_name"
|
|
@@ -16,40 +17,43 @@
|
16
|
17
|
android:theme="@style/AppTheme"
|
17
|
18
|
android:usesCleartextTraffic="true"
|
18
|
19
|
>
|
19
|
|
-<!-- NOTIFICATIONS -->
|
20
|
|
- <meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
|
21
|
|
- android:value="reminders"/>
|
22
|
|
- <meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
|
23
|
|
- android:value="reminders"/>
|
|
20
|
+ <!-- NOTIFICATIONS -->
|
|
21
|
+ <meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
|
|
22
|
+ android:value="reminders"/>
|
|
23
|
+ <meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
|
|
24
|
+ android:value="reminders"/>
|
24
|
25
|
<!-- Change the resource name to your App's accent color - or any other color you want -->
|
25
|
|
- <meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
|
26
|
|
- android:resource="@color/colorPrimary"/> <!-- or @android:color/{name} to use a standard color -->
|
|
26
|
+ <meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
|
|
27
|
+ android:resource="@color/colorPrimary"/> <!-- or @android:color/{name} to use a standard color -->
|
27
|
28
|
|
28
|
|
- <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
|
|
29
|
+ <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher"/>
|
29
|
30
|
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
|
30
|
31
|
<intent-filter>
|
31
|
|
- <action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
32
|
+ <action android:name="android.intent.action.BOOT_COMPLETED"/>
|
32
|
33
|
</intent-filter>
|
33
|
34
|
</receiver>
|
34
|
35
|
|
35
|
36
|
<service
|
36
|
37
|
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
|
37
|
|
- android:exported="false" >
|
|
38
|
+ android:exported="false">
|
38
|
39
|
<intent-filter>
|
39
|
|
- <action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
40
|
+ <action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
40
|
41
|
</intent-filter>
|
41
|
42
|
</service>
|
42
|
43
|
|
43
|
|
-<!-- END NOTIFICATIONS-->
|
|
44
|
+ <!-- END NOTIFICATIONS-->
|
44
|
45
|
|
45
|
46
|
|
46
|
47
|
<meta-data android:name="com.facebook.sdk.AutoInitEnabled" android:value="false"/>
|
47
|
48
|
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled" android:value="false"/>
|
48
|
49
|
<meta-data android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled" android:value="false"/>
|
49
|
|
- <activity android:name=".MainActivity" android:label="@string/app_name"
|
50
|
|
- android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
51
|
|
- android:launchMode="singleTask" android:windowSoftInputMode="adjustResize"
|
52
|
|
- android:screenOrientation="portrait">
|
|
50
|
+ <activity
|
|
51
|
+ android:name=".MainActivity"
|
|
52
|
+ android:label="@string/app_name"
|
|
53
|
+ android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
54
|
+ android:launchMode="singleTask"
|
|
55
|
+ android:windowSoftInputMode="adjustResize"
|
|
56
|
+ android:screenOrientation="portrait">
|
53
|
57
|
<intent-filter>
|
54
|
58
|
<action android:name="android.intent.action.MAIN"/>
|
55
|
59
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
@@ -63,4 +67,4 @@
|
63
|
67
|
</activity>
|
64
|
68
|
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
|
65
|
69
|
</application>
|
66
|
|
-</manifest>
|
|
70
|
+</manifest>
|