Recherches récentes


Pas de recherche récente

Evgenii Aronov's Avatar

Evgenii Aronov

Adhésion le 08 nov. 2021

·

Dernière activité le 20 nov. 2021

Suivis

0

Abonnés

0

Activité totale

6

Votes

0

Abonnement

1

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Evgenii Aronov

Evgenii Aronov a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Sure.

Afficher le commentaire · Publication le 20 nov. 2021 · Evgenii Aronov

0

Abonnés

0

Votes

0

Commentaire


Evgenii Aronov a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Any updates?

Afficher le commentaire · Publication le 19 nov. 2021 · Evgenii Aronov

0

Abonnés

0

Votes

0

Commentaire


Evgenii Aronov a ajouté un commentaire,

Commentaire de la communauté 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()
}

Afficher le commentaire · Publication le 10 nov. 2021 · Evgenii Aronov

0

Abonnés

0

Votes

0

Commentaire


Evgenii Aronov a ajouté un commentaire,

Commentaire de la communauté 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.

Afficher le commentaire · Modification le 08 nov. 2021 · Evgenii Aronov

0

Abonnés

0

Votes

0

Commentaire


Evgenii Aronov a créé une publication,

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

Publication le 08 nov. 2021 · Evgenii Aronov

0

Abonnés

3

Votes

8

Commentaires