Use RN notifications without Google services
This commit is contained in:
@@ -52,39 +52,12 @@
|
|||||||
<meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
|
<meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
|
||||||
android:resource="@android:color/white"/>
|
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.RNPushNotificationPublisher" />
|
||||||
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
|
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</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>
|
</application>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|||||||
Generated
+2
-3
@@ -7526,9 +7526,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"react-native-push-notification": {
|
"react-native-push-notification": {
|
||||||
"version": "3.1.1",
|
"version": "github:jfr3000/react-native-push-notification#f9e83510d687116ea79ee30fde6b93ba5a07b019",
|
||||||
"resolved": "https://registry.npmjs.org/react-native-push-notification/-/react-native-push-notification-3.1.1.tgz",
|
"from": "github:jfr3000/react-native-push-notification"
|
||||||
"integrity": "sha512-4+4yQXNPqh5IVvpSBmR4Cy/UeMjTcfE8KIJgEuT7pME97WK+aGPn6W3ybhOoXC1n+ZWKfrAlsHydLE4xfBZDJg=="
|
|
||||||
},
|
},
|
||||||
"react-native-restart": {
|
"react-native-restart": {
|
||||||
"version": "0.0.7",
|
"version": "0.0.7",
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
"react-native-fs": "^2.13.3",
|
"react-native-fs": "^2.13.3",
|
||||||
"react-native-hyperlink": "0.0.14",
|
"react-native-hyperlink": "0.0.14",
|
||||||
"react-native-modal-datetime-picker-nevo": "^4.11.0",
|
"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-restart": "0.0.7",
|
||||||
"react-native-share": "^1.1.3",
|
"react-native-share": "^1.1.3",
|
||||||
"react-native-vector-icons": "^5.0.0",
|
"react-native-vector-icons": "^5.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user