|
@@ -0,0 +1,116 @@
|
|
|
|
|
+<manifest
|
|
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
+
|
|
|
|
|
+ <uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.CAMERA" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
|
|
|
|
|
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
|
+ <uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
|
|
|
|
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
|
|
|
+
|
|
|
|
|
+ <application
|
|
|
|
|
+ android:name=".MainApplication"
|
|
|
|
|
+ android:label="@string/app_name"
|
|
|
|
|
+ android:icon="@mipmap/ic_launcher"
|
|
|
|
|
+ android:roundIcon="@mipmap/ic_launcher_round"
|
|
|
|
|
+ android:allowBackup="false"
|
|
|
|
|
+ android:theme="@style/AppTheme.Light"
|
|
|
|
|
+ android:hardwareAccelerated="true"
|
|
|
|
|
+ android:usesCleartextTraffic="true"
|
|
|
|
|
+ tools:ignore="GoogleAppIndexingWarning">
|
|
|
|
|
+ <activity
|
|
|
|
|
+ android:name=".MainActivity"
|
|
|
|
|
+ android:label="@string/app_name"
|
|
|
|
|
+ android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
|
|
|
|
|
+ android:launchMode="singleTask"
|
|
|
|
|
+ android:windowSoftInputMode="adjustResize"
|
|
|
|
|
+ android:exported="true">
|
|
|
|
|
+ <intent-filter>
|
|
|
|
|
+ <action android:name="android.intent.action.MAIN" />
|
|
|
|
|
+ <category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
|
+ </intent-filter>
|
|
|
|
|
+ <intent-filter>
|
|
|
|
|
+ <action android:name="android.intent.action.VIEW" />
|
|
|
|
|
+ <category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
+ <data android:scheme="checo" />
|
|
|
|
|
+ </intent-filter>
|
|
|
|
|
+ </activity>
|
|
|
|
|
+ <!-- <provider
|
|
|
|
|
+ android:name="androidx.core.content.FileProvider"
|
|
|
|
|
+ android:authorities="${applicationId}.provider"
|
|
|
|
|
+ android:grantUriPermissions="true"
|
|
|
|
|
+ android:exported="false">
|
|
|
|
|
+ <meta-data
|
|
|
|
|
+ android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
|
+ android:resource="@xml/filepaths" />
|
|
|
|
|
+ </provider> -->
|
|
|
|
|
+ <!-- You will only need to add this meta-data tag, but make sure it's a child of application -->
|
|
|
|
|
+ <meta-data
|
|
|
|
|
+ android:name="com.google.android.geo.API_KEY"
|
|
|
|
|
+ android:value="@string/google_maps_key"/>
|
|
|
|
|
+ <!--meta-data
|
|
|
|
|
+ android:name="com.google.android.geo.API_KEY"
|
|
|
|
|
+ android:value="AIzaSyBAefhRlXEH3vCko-zZTX6PHllTR6av4WI"/-->
|
|
|
|
|
+ <!--meta-data
|
|
|
|
|
+ android:name="com.google.android.maps.v2.API_KEY"
|
|
|
|
|
+ android:value="@string/google_maps_key" /-->
|
|
|
|
|
+ <!-- Change the value to true to enable pop-up for in foreground on receiving remote notifications (for prevent duplicating while showing local notifications set this to false) -->
|
|
|
|
|
+ <meta-data
|
|
|
|
|
+ android:name="com.dieam.reactnativepushnotification.notification_foreground"
|
|
|
|
|
+ android:value="true"/>
|
|
|
|
|
+ <!-- Change the resource name to your App's accent color - or any other color you want -->
|
|
|
|
|
+ <meta-data
|
|
|
|
|
+ android:name="com.dieam.reactnativepushnotification.notification_color"
|
|
|
|
|
+ android:resource="@color/white"/>
|
|
|
|
|
+ <receiver
|
|
|
|
|
+ android:exported="true"
|
|
|
|
|
+ android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions"/>
|
|
|
|
|
+ <receiver
|
|
|
|
|
+ android:exported="true"
|
|
|
|
|
+ android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
|
|
|
|
|
+ <receiver
|
|
|
|
|
+ android:exported="true"
|
|
|
|
|
+ android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
|
|
|
|
|
+ <intent-filter>
|
|
|
|
|
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
|
+ <action android:name="android.intent.action.QUICKBOOT_POWERON" />
|
|
|
|
|
+ <action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
|
|
|
|
|
+ </intent-filter>
|
|
|
|
|
+ </receiver>
|
|
|
|
|
+ <!--service
|
|
|
|
|
+ android:name=".java.MyFirebaseMessagingService"
|
|
|
|
|
+ android:exported="false">
|
|
|
|
|
+ <intent-filter>
|
|
|
|
|
+ <action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
|
|
|
+ </intent-filter>
|
|
|
|
|
+ </service-->
|
|
|
|
|
+ <service
|
|
|
|
|
+ android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
|
|
|
|
|
+ android:exported="false" >
|
|
|
|
|
+ <intent-filter>
|
|
|
|
|
+ <action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
|
|
|
+ </intent-filter>
|
|
|
|
|
+ </service>
|
|
|
|
|
+ <!-- 设置自定义默认图标。当没有为传入通知消息设置图标时,使用此选项。
|
|
|
|
|
+ See README(https://goo.gl/l4GJaQ) for more. -->
|
|
|
|
|
+ <meta-data
|
|
|
|
|
+ android:name="com.google.firebase.messaging.default_notification_icon"
|
|
|
|
|
+ android:resource="@drawable/ic_notification" />
|
|
|
|
|
+ <meta-data
|
|
|
|
|
+ android:name="com.google.firebase.messaging.default_notification_channel_id"
|
|
|
|
|
+ android:value="@string/default_notification_channel_id" />
|
|
|
|
|
+ <meta-data
|
|
|
|
|
+ android:name="com.dieam.reactnativepushnotification.default_notification_channel_id"
|
|
|
|
|
+ android:value="@string/default_notification_channel_id" />
|
|
|
|
|
+ </application>
|
|
|
|
|
+</manifest>
|