configure

suspend fun configure(key: String, environment: LocalzEnvironment, appVersion: String)

Configures the SDK with the provided key, environment, and app version.

Parameters

key

The SDK key for authentication.

environment

The environment in which the SDK is running (e.g., production, staging).

appVersion

The version of the application using the SDK.

Throws

if the SDK is not properly configured.