Skip to main content

Setup for Kotlin KMP Application (Native & iOS)

Setup at Application start

Start Cloud-Inject for KMP (since 0.10.0-Beta5)

In your Kotlin app, you need to activate the Kotzilla platform with following code

  • CloudInjectCoreSDK.setupAndConnect - to connect Cloud-Inject platform with given appKey and version name
  • analyticsLogger() - to use analytics logger with Koin

To start and connect the SDK, you can do as follow:

// Setup & connect Cloud-Inject
CloudInjectCoreSDK.setupAndConnect("dev.johnoreilly.confetti","1.0")

// Start Koin
startKoin {
analyticsLogger()
modules(...)
}

Koin Analytics

Cloud-Injct SDK Features