initialize

actual fun initialize(platform: Platform, sdkOptions: SdkOptions?, name: String?): Core?
expect fun initialize(platform: Platform, sdkOptions: SdkOptions? = null, name: String? = null): Core?

The initialize function serves as a crucial entry point for initializing the Core module in SDK if you would like to initialize another app of Default app. It allows developers to set up the Core module with specific configurations based on the provided parameters.

Parameters

platform

The platform context

sdkOptions

It is an optional configuration ref: SdkOptions

name

It is the name of the Core. It is an option, without giving the value, default value is DEFAULT

actual fun initialize(platform: Platform, sdkOptions: SdkOptions?, name: String?): Core?