我已经建立了我的应用程序来接收Firebase通知。我通过FCM控制台进行了测试,设备收到了通知。然而,当我从testflight设备测试时,没有收到任何通知,但当我检查负载时,它显示成功。 1. Uploaded the production .p12 certificate in firebase.
2. Capabilities -> Background Modes = ON with Remote Notifications = true;
PushNotifications = set to 'true'
3. In Info.plist Fireb
我想安装这个库:。
它说要这样做:
var PushNotification = require('react-native-push-notification');
PushNotification.configure({
// (optional) Called when Token is generated (iOS and Android)
onRegister: function(token) {
console.log( 'TOKEN:', token );
},
// (required) Ca