com.bear.common.sdk / BearSdk / init

init

@JvmOverloads fun init(secretKey: String, isDev: Boolean = false): Unit

Initialize BEAR SDK. The secretKey must be provided for SDK initialization. This method must be called in the android.app.Application.onCreate method.

Parameters

secretKey - the secret key.

isDev - the optional flag for dev environment, false by default.

fun <R : IJsonConfig, T : AbstractRestJsonConfig<R>> init(secretKey: String, isDev: Boolean, classType: Class<T>?, configVersion: String, authInterceptor: AuthInterceptor?): Unit