Recent searches
No recent searches
Clear messages with invalidate() method android
Posted Nov 20, 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 comment
Christopher Kennedy
Are you utilizing authentication in your implementation?
0