The Trailblazer Community in Slack is now in Open Beta—join and connect in real time. [Join us in Slack]
Clearing the local storage will delete the local database in the SDK and remove all conversations and entries associated with those conversations from the device.
This feature requires version 1.5.1 or later of the Enhanced In-App Chat SDK.
Important
This article applies to the following implementations:
| UI SDK | Core SDK |
|---|---|
| ✅ |
To delete the local storage call the destroyStorage method on the CoreClient object.
1coreClient.destoryStorage(andAuthorization: true) { error in
2 If error != nil {
3// TO DO: Handle error
4return
5 }
6}