configure

fun configure(localzSdkKey: LocalzSdkKey, environment: LocalzEnvironment = LocalzEnvironment.PROD)

Configures the SDK with the given SDK key and environment.

This must be called before any other SDK methods.

Parameters

localzSdkKey

The Localz SDK key.

environment

The target environment (default is PROD).


fun configure(localzSdkKey: String, environment: LocalzEnvironment = LocalzEnvironment.PROD)

Configures the SDK with the given SDK key string and environment.

Parameters

localzSdkKey

The Localz SDK key as a string.

environment

The target environment (default is PROD).