Recent searches


No recent searches

Evgenii Aronov's Avatar

Evgenii Aronov

Joined Nov 08, 2021

·

Last activity Nov 20, 2021

Following

0

Followers

0

Total activity

6

Votes

0

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Evgenii Aronov

Evgenii Aronov commented,

Community comment Developer - Zendesk SDKs

Sure.

View comment · Posted Nov 20, 2021 · Evgenii Aronov

0

Followers

0

Votes

0

Comments


Evgenii Aronov commented,

Community comment Developer - Zendesk SDKs

Any updates?

View comment · Posted Nov 19, 2021 · Evgenii Aronov

0

Followers

0

Votes

0

Comments


Evgenii Aronov commented,

Community comment 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()
}

View comment · Posted Nov 10, 2021 · Evgenii Aronov

0

Followers

0

Votes

0

Comments


Evgenii Aronov commented,

Community comment 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.

View comment · Edited Nov 08, 2021 · Evgenii Aronov

0

Followers

0

Votes

0

Comments


Evgenii Aronov created a post,

Post 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?

Posted Nov 08, 2021 · Evgenii Aronov

0

Followers

3

Votes

8

Comments