deactivate

suspend fun deactivate(deintegrate: Boolean = false)

Deactivates the app user's phone.

Stops background operations and cleans up resources. Credentials remain cached and available for the next activation. After deactivation, isActivated will emit false.

This method is safe to call multiple times and will not throw if already deactivated.

Parameters

deintegrate

If true, removes device association and clears all state.

Throws

if the SDK has not been initialized yet.