【发布时间】:2016-10-05 12:09:09
【问题描述】:
我正在使用 Firebase 为 iOS 实现推送通知。我已经按照那里提到的推送通知的所有步骤进行操作。
当我尝试从 Firebase 服务器向我的应用发送消息时,我在服务器中收到错误消息 Unregistered registration token。
我正在使用应用程序中生成的令牌。使用此代码获取令牌:
[FIRApp configure];
NSString *refreshedToken = [[FIRInstanceID instanceID] token];
【问题讨论】:
-
web api 和 google-info plist 中的 api 应该匹配吗?
标签: ios objective-c firebase firebase-cloud-messaging