activate

fun activate(context: Context, config: AdaptyConfig)

Use this method to initialize the Adapty SDK.

If your app starts multiple processes (not always by yourself) don't forget to check main process.

Parameters

context

Application context.

config

An AdaptyConfig object.