最近搜索


没有最近搜索

Evgenii Aronov's Avatar

Evgenii Aronov

已加入2021年11月08日

·

最后活动2021年11月20日

关注

0

关注者

0

活动总数

6

投票

0

订阅

1

活动概览

的最新活动 Evgenii Aronov

Evgenii Aronov 进行了评论,

社区评论 Developer - Zendesk SDKs

Sure.

查看评论 · 已于 2021年11月20日 发布 · Evgenii Aronov

0

关注者

0

投票

0

评论


Evgenii Aronov 进行了评论,

社区评论 Developer - Zendesk SDKs

Any updates?

查看评论 · 已于 2021年11月19日 发布 · Evgenii Aronov

0

关注者

0

投票

0

评论


Evgenii Aronov 进行了评论,

社区评论 Developer - Zendesk SDKs

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 进行了评论,

社区评论 Developer - Zendesk SDKs

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 创建了一个帖子,

帖子 Developer - Zendesk SDKs

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

评论