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)