Configure
Callconfigure() 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 aContext 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
- Identify Users — Associate users for offer targeting
- Present Offers — Show retention offers at key moments