最近搜索
没有最近搜索

Evgenii Aronov
已加入2021年11月08日
·
最后活动2021年11月20日
关注
0
关注者
0
活动总数
6
投票
0
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Evgenii Aronov
Evgenii Aronov 进行了评论,
Hello
I've tried this methods and still receiving pushes after calling unregisterToken
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
Chat.registerPushToken(deviceToken)
}
private func unregisterZendeskToken() {
Chat.pushNotificationsProvider?.unregisterPushToken()
Chat.chatProvider?.endChat()
Chat.instance?.resetIdentity(nil)
Chat.instance?.clearCache()
}
查看评论 · 已于 2021年11月10日 发布 · Evgenii Aronov
0
关注者
0
投票
0
评论
Evgenii Aronov 进行了评论,
So I tried 2 approaches:
1) Registering token by calling Chat.registerPushToken(deviceToken) and deleting by calling Chat.pushNotificationsProvider?.unregisterPushToken()
2) Registering token by calling Chat.pushNotificationsProvider?.registerPushToken(deviceToken)
and deleting like in previous.
But had no luck with both cases.
查看评论 · 已于 2021年11月08日 编辑 · Evgenii Aronov
0
关注者
0
投票
0
评论
Evgenii Aronov 创建了一个帖子,
Hello
If there any functionality to remove push token for iOS device that was previous registered?
Problem here is that when user logged out from our app can still receive push notifications.
I've found this method https://zendesk.github.io/mobile_sdk_iOS_jazzy_docs/Classes/PushNotificationsProvider.html#/c:@CM@ChatProvidersSDK@objc(cs)ZDKPushNotificationsProvider(im)unregisterPushToken
but it doesn't work.
Could you help me with this?
已于 2021年11月08日 发布 · Evgenii Aronov
0
关注者
3
投票
8
评论