App Launch

Track app launch (cold/warm) and mark launch end in KMP.

Enable app launch tracking

Kotlin
APMKmp.setAppLaunchEnabled(true)

You can also enable cold app launch tracking specifically:

Kotlin
APMKmp.setColdAppLaunchEnabled(true)

Mark end of app launch

Call this when your app has finished loading (e.g. first frame drawn or main screen ready). The SDK uses it to measure launch time.

Kotlin
APMKmp.endAppLaunch()

Call it once per launch; the exact moment depends on your definition of “app ready” (e.g. after splash, after first interactive screen).

Last updated