【发布时间】:2017-03-17 07:18:42
【问题描述】:
我正在使用 Firebase 消息服务在我的 iOS 应用中推送通知。我正在尝试使用以下方法从 firebase 中删除已注册的令牌。
FIRInstanceID.instanceID().deleteToken(withAuthorizedEntity: GCM_SENDER_ID, scope: kFIRInstanceIDScopeFirebaseMessaging, handler: { (result) in
// What should be the expected result ???
})
这个函数的预期输出应该是什么,因为我没有得到任何确认设备未从 FCM 注册。我将 GCM_SENDER_ID 作为 AuthorizedEntity 传递。谁能帮忙??
【问题讨论】:
标签: ios firebase swift3 firebase-cloud-messaging