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.
The registered purchase controller survives reset(): it is app infrastructure, not user state. Pending strict-unlock claims do not survive; they belong to the previous user and are cleared.
  • identify(): re-associates a user ID after the next login
  • configure(): registers the purchase controller that survives this call