Companion

Properties

Link copied to clipboard
Link copied to clipboard

A variable that is only true if `instance` is available for use. Gets set to true immediately after configure is called.

Link copied to clipboard

Functions

Link copied to clipboard
fun configure(applicationContext: Application, apiKey: String, purchaseController: PurchaseController? = null, options: SuperwallOptions? = null, activityProvider: ActivityProvider? = null, completion: (Result<Unit>) -> Unit? = null)

Configures a shared instance of Superwall for use throughout your app.

Link copied to clipboard

Handles a deep link sent to your app to open a preview of your paywall.

Link copied to clipboard

Tears down the SDK and prepares it for re-initialization.