Logging out of Android SDK

If your application supports logout functionality, please execute the below code to ensure that user sessions of the user logging out are cleared from Haptik SDK as well.

Kotlin Code:

HaptikSDK.logout(context)

Java Code:

HaptikSDK.INSTANCE.logout(context);

Note

Make sure your SDK version is 1.2.0 or higher.

Can’t find what you’re looking for? Email us at support@haptik.ai.