FCM通知突然在iOS Cordova应用中停止工作

时间:2018-10-12 05:19:45

标签: ios firebase cordova firebase-cloud-messaging cordova-plugin-fcm

FCM消息两天前已传送到iOS应用。但是从昨天开始,当应用程序通过Xcode直接在设备上运行时,我们遇到了一个奇怪的错误。 AppStore上已存在的应用正在接收推送通知

使用的插件:cordova-plugin-firebase

FCM服务器返回以下错误:

{
  "results": [
    {
      "error": {
        "code": "messaging/registration-token-not-registered",
        "message": "The provided registration token is not registered. A previously valid registration token can be unregistered for a variety of reasons. See the error documentation for more details. Remove this registration token and stop using it to send messages."
      }
    },
    {
      "error": {
        "code": "messaging/registration-token-not-registered",
        "message": "The provided registration token is not registered. A previously valid registration token can be unregistered for a variety of reasons. See the error documentation for more details. Remove this registration token and stop using it to send messages."
      }
    }
  ],
  "canonicalRegistrationTokenCount": 0,
  "failureCount": 2,
  "successCount": 0,
  "multicastId": 6313090191389462000
}

Xcode版本:10.0版(10A255)

通过Firebase控制台触发通知时会变得相似 Firebase Console

0 个答案:

没有答案