Recherches récentes


Pas de recherche récente

Clear messages with invalidate() method android



Publication le 20 nov. 2024

https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/android/advanced_integration/

I would like to clear messages in my Android app after ending a conversation.

I am doing .invalidate() function and next Im creating new instance.

It should work and clear messages, but it doesnt;

Invalidate the SDK
Invalidating the Zendesk SDK refers to the process of stopping its current instance. Upon instance invalidation, Zendesk SDK nullifies the invalidated instance and references to the internal storages are lost. This ensures that unused data does not accumulate over time, freeing up system resources. When the end user logs out, the Zendesk SDK removes all user details from local storages and terminates the real-time connection. Invalidating the Zendesk SDK instance means that no messages nor notifications will be received.


0

1

1 commentaire

image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Krystian,
 
Are you utilizing authentication in your implementation?

0


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication