initialize

fun initialize(context: Context, configuration: TWSConfiguration? = null)

Initializes the SDK with an optional TWSConfiguration.

If no configuration is provided, it attempts to use the projectId defined in the AndroidManifest.xml metadata.

Parameters

context

The application context.

configuration

Optional configuration for the SDK. If null, uses default metadata-based setup.