Skip to main content
Resets the current user session by clearing the user ID and all cached entitlements. Call this when a user logs out to ensure the next user session starts fresh with a new anonymous ID.
The language set with setLanguage() survives reset(). It is a preference of the device, like appearance, not user state, so a logout leaves it in place. Only clearLanguage() removes it.

Signature

Parameters

This method takes no parameters.

Usage

Basic logout flow

After calling reset(), the SDK automatically generates a new anonymous user ID. You don’t need to call configure() again.