Use RN notifications without Google services
This commit is contained in:
@@ -52,39 +52,12 @@
|
||||
<meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
|
||||
android:resource="@android:color/white"/>
|
||||
|
||||
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
|
||||
<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>
|
||||
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
|
||||
|
||||
<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.RNPushNotificationListenerService"
|
||||
android:exported="false" >
|
||||
<intent-filter>
|
||||
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
|
||||
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
||||
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
|
||||
|
||||
<!-- <Else> -->
|
||||
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
||||
<!-- </Else> -->
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
||||
Generated
+2
-3
@@ -7526,9 +7526,8 @@
|
||||
}
|
||||
},
|
||||
"react-native-push-notification": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/react-native-push-notification/-/react-native-push-notification-3.1.1.tgz",
|
||||
"integrity": "sha512-4+4yQXNPqh5IVvpSBmR4Cy/UeMjTcfE8KIJgEuT7pME97WK+aGPn6W3ybhOoXC1n+ZWKfrAlsHydLE4xfBZDJg=="
|
||||
"version": "github:jfr3000/react-native-push-notification#f9e83510d687116ea79ee30fde6b93ba5a07b019",
|
||||
"from": "github:jfr3000/react-native-push-notification"
|
||||
},
|
||||
"react-native-restart": {
|
||||
"version": "0.0.7",
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
"react-native-fs": "^2.13.3",
|
||||
"react-native-hyperlink": "0.0.14",
|
||||
"react-native-modal-datetime-picker-nevo": "^4.11.0",
|
||||
"react-native-push-notification": "^3.1.1",
|
||||
"react-native-push-notification": "github:jfr3000/react-native-push-notification",
|
||||
"react-native-restart": "0.0.7",
|
||||
"react-native-share": "^1.1.3",
|
||||
"react-native-vector-icons": "^5.0.0",
|
||||
|
||||
Reference in New Issue
Block a user