ios - FCM 通知在 iOS Cordova 应用程序中突然停止工作
问题描述
FCM 消息在 2 天前被传送到 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)
解决方案
推荐阅读
- python - 将两个不同大小的数据框除以所有选项
- windows - powershell script- clear event log 'access to the "computername" computer is denied' error
- reactjs - Redux Saga 中的 Auth Bearer Token
- python - Selenium - IE 没有无头运行
- amazon-web-services - AWS SQS Lambda 触发器和并发
- caching - 缓存是 2 路是什么意思?4路?与直接映射缓存相比,它有哪些变化?
- kubernetes - 特定 pod 的 client-go 监视事件
- stroke-dasharray - stroke-dasharray 数字是如何工作的?
- node.js - swagger-ui-express 不显示响应
- c - strcpy 的字符串实现