|
14 | 14 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
15 | 15 | <uses-permission android:name="android.permission.USE_BIOMETRIC" /> |
16 | 16 | <uses-permission android:name="android.permission.USE_FINGERPRINT" /> |
17 | | - <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
18 | 17 | <uses-permission android:name="android.permission.VIBRATE" /> |
19 | 18 | <uses-permission android:name="android.permission.DETECT_SCREEN_CAPTURE" /> |
20 | 19 |
|
|
32 | 31 | android:networkSecurityConfig="@xml/network_security_config" |
33 | 32 | android:configChanges="uiMode"> |
34 | 33 |
|
35 | | - <meta-data |
36 | | - android:name="com.dieam.reactnativepushnotification.notification_channel_name" |
37 | | - android:value="Shroud notifications" /> |
38 | | - <meta-data |
39 | | - android:name="com.dieam.reactnativepushnotification.notification_channel_description" |
40 | | - android:value="Notifications about incoming payments" /> |
41 | | - <meta-data |
42 | | - android:name="com.dieam.reactnativepushnotification.notification_foreground" |
43 | | - android:value="true" /> |
44 | | - <meta-data |
45 | | - android:name="com.dieam.reactnativepushnotification.channel_create_default" |
46 | | - android:value="true" /> |
47 | | - <meta-data |
48 | | - android:name="com.dieam.reactnativepushnotification.notification_color" |
49 | | - android:resource="@color/white" /> |
50 | | - <meta-data |
51 | | - android:name="firebase_messaging_auto_init_enabled" |
52 | | - android:value="false" /> |
53 | | - <meta-data |
54 | | - android:name="firebase_analytics_collection_enabled" |
55 | | - android:value="false" /> |
56 | | -<provider |
57 | | - android:name="androidx.core.content.FileProvider" |
58 | | - android:authorities="${applicationId}.provider" |
59 | | - android:exported="false" |
60 | | - android:grantUriPermissions="true"> |
61 | | - <meta-data |
62 | | - android:name="android.support.FILE_PROVIDER_PATHS" |
63 | | - android:resource="@xml/file_paths" /> |
64 | | -</provider> |
65 | | - <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" /> |
66 | | - <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" /> |
67 | | - <receiver |
68 | | - android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver" |
69 | | - android:exported="true"> |
70 | | - <intent-filter> |
71 | | - <action android:name="android.intent.action.BOOT_COMPLETED" /> |
72 | | - </intent-filter> |
73 | | - </receiver> |
74 | | - |
75 | | - <receiver android:name=".BitcoinPriceWidget" android:exported="true"> |
76 | | - <intent-filter> |
77 | | - <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> |
78 | | - <action android:name="android.intent.action.SCREEN_ON"/> |
79 | | - <action android:name="android.intent.action.SCREEN_OFF"/> |
80 | | - </intent-filter> |
| 34 | + <provider |
| 35 | + android:name="androidx.core.content.FileProvider" |
| 36 | + android:authorities="${applicationId}.provider" |
| 37 | + android:exported="false" |
| 38 | + android:grantUriPermissions="true"> |
81 | 39 | <meta-data |
82 | | - android:name="android.appwidget.provider" |
83 | | - android:resource="@xml/bitcoin_price_widget_info"/> |
84 | | - </receiver> |
85 | | - |
86 | | - <!-- Market Widget --> |
87 | | - <receiver |
88 | | - android:name=".MarketWidget" |
89 | | - android:exported="true"> |
90 | | - <intent-filter> |
91 | | - <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
92 | | - </intent-filter> |
93 | | - <meta-data |
94 | | - android:name="android.appwidget.provider" |
95 | | - android:resource="@xml/market_widget_info" /> |
96 | | - </receiver> |
97 | | - |
98 | | - <!-- Market Widget Configuration Activity --> |
99 | | - <activity |
100 | | - android:name=".MarketWidgetConfigureActivity" |
101 | | - android:exported="true" |
102 | | - android:theme="@style/Theme.AppCompat.Light"> |
103 | | - <intent-filter> |
104 | | - <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
105 | | - </intent-filter> |
106 | | - </activity> |
107 | | - |
108 | | - <service |
109 | | - android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService" |
110 | | - android:exported="false"> |
111 | | - <intent-filter> |
112 | | - <action android:name="com.google.firebase.MESSAGING_EVENT" /> |
113 | | - </intent-filter> |
114 | | - </service> |
| 40 | + android:name="android.support.FILE_PROVIDER_PATHS" |
| 41 | + android:resource="@xml/file_paths" /> |
| 42 | + </provider> |
115 | 43 |
|
116 | 44 | <activity |
117 | 45 | android:name=".MainActivity" |
|
0 commit comments