initialize

fun initialize(context: Context, publisherKey: String, apiKey: String, components: Set<Component> = emptySet())

Initialize the Nimbus SDK.

This method must be called before any other components of the SDK can be used.

Parameters

context

Any valid context

publisherKey

The publisher key that identifies the integration

apiKey

The api key linked to the publisherKey

components

Setting this field will disable the autoloader. Only use if directed by a Nimbus rep.