Created
January 30, 2020 06:08
-
-
Save JeffGuKang/d12796df10cfb22b2f00bc9cc98a4e02 to your computer and use it in GitHub Desktop.
react-native-push-notification with react-native-firebase-messaging v6.2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.yourpackage"> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> | |
<uses-permission android:name="android.permission.CAMERA" /> | |
<uses-permission android:name="android.permission.VIBRATION" /> | |
<application | |
android:name=".MainApplication" | |
android:networkSecurityConfig="@xml/react_native_config" | |
android:label="@string/app_name" | |
android:icon="@mipmap/ic_launcher" | |
android:allowBackup="true" | |
android:theme="@style/AppTheme"> | |
<activity | |
android:name=".MainActivity" | |
android:launchMode="singleTask" | |
android:label="@string/app_name" | |
android:screenOrientation="portrait" | |
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" | |
android:windowSoftInputMode="adjustResize"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
</activity> | |
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" /> | |
<!-- < Else > --> | |
<service | |
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService" | |
android:exported="false" > | |
<intent-filter> | |
<action android:name="com.google.firebase.MESSAGING_EVENT" /> | |
</intent-filter> | |
</service> | |
<!-- </Else> --> | |
</application> | |
</manifest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment