activate

suspend fun activate(configuration: Configuration)

Activates the SDK. All fields from both, session and user configurations must be set, otherwise the activation will throw a RegistrationException

Parameters

configuration

Configuration object holding all data necessary to activate sdk user.

Throws

will be thrown if configuration is invalid or the registration fails

APIs prior to 31 require READ_PHONE_STATE permission APIs 31+ require READ_PHONE_STATE & READ_PHONE_NUMBERS permissions