configureSuperwall

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

Call this as soon as your app finishes launching in onCreate in your MainApplication class. Check out Configuring the SDK for information about how to configure the SDK.

Return

The configured Superwall instance.

Parameters

apiKey

Your Public API Key that you can get from the Superwall dashboard settings. If you don't have an account, you can sign up for free.

configure

A lambda that allows you to configure the SDK. Inside the configuration block, you can setup your PurchaseController, ActivityProvider, a completion closure and SuperwallOptions via SuperwallBuilder.options closure.