activate

suspend fun activate()

Activates the app user's phone.

Prepares the SDK for use by syncing with the server and setting up background services. This operation requires an active internet connection on first activation. Safe to call multiple times - subsequent calls are no-ops if already activated.

After successful activation, isActivated will emit true and credentials will start syncing automatically.

Throws

if the SDK has not been initialized yet.

if no internet connection is available.