-
-
Save LukeSmetham/b8ed458ee18508c43938c70a380c2142 to your computer and use it in GitHub Desktop.
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
<!-- < Only if you're using GCM or localNotificationSchedule() > --> | |
<uses-permission android:name="android.permission.WAKE_LOCK" /> | |
<permission | |
android:name="${applicationId}.permission.C2D_MESSAGE" | |
android:protectionLevel="signature" /> | |
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" /> | |
<!-- < Only if you're using GCM or localNotificationSchedule() > --> | |
<uses-permission android:name="android.permission.VIBRATE" /> | |
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> | |
<!-- Then, within the <application> block, place the following --> | |
<receiver | |
android:name="com.google.android.gms.gcm.GcmReceiver" | |
android:exported="true" | |
android:permission="com.google.android.c2dm.permission.SEND" > | |
<intent-filter> | |
<action android:name="com.google.android.c2dm.intent.RECEIVE" /> | |
<category android:name="${applicationId}" /> | |
</intent-filter> | |
</receiver> | |
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" /> | |
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver"> | |
<intent-filter> | |
<action android:name="android.intent.action.BOOT_COMPLETED" /> | |
</intent-filter> | |
</receiver> | |
<service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/> | |
<service | |
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerServiceGcm" | |
android:exported="false" > | |
<intent-filter> | |
<action android:name="com.google.android.c2dm.intent.RECEIVE" /> | |
</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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment