Skip to main content

Configure

Call configure() once, early in your app lifecycle. This is shared code:
Duplicate calls to configure() are ignored with a warning.

Android: Platform Glue

Android requires two additional calls because the native SDK needs a Context to initialize and an Activity reference to present offer UI. These go in your platform-specific code, not in shared:
On Android, use the configure(context, apiKey) extension instead of the shared configure(apiKey) — it passes the Application context to the native SDK. iOS needs no platform glue.

Next Steps