SDKs — iOS — Android — Kotlin — Flutter — React Native — Web — Unity — Cordova — IBM MFP — Kony API Reference Guides Changelog ← appice.ai
Kotlin SDK

Quickstart

Install the Kotlin SDK, initialize it once at app start, and send your first event.

1. Install

Distributed as a Kotlin Multiplatform Maven artifact. Add the dependency to your shared module's build.gradle.kts.

⚠ TODO — Engineering
Paste the install command(s) for the Kotlin SDK. Include the package manager (CocoaPods, SPM, Gradle, npm, yarn, etc.) and the latest version pin.

2. Initialize

Initialize the SDK in your shared module's startup function, after platform-specific platform handles are wired up.

⚠ TODO — Engineering
Paste the initialization snippet. Include the API key parameter name, region/endpoint parameter, and any required runtime callbacks. If the SDK supports multiple languages on this runtime (Swift+Obj-C, Kotlin+Java, JS+TS), wrap each in a <div class='tab'> — the tab switcher in js/docs.js handles the rest.

3. Identify a user

⚠ TODO — Engineering
Paste a user-identify snippet showing how to attach a user identifier and basic user properties (email, plan, locale). Note any privacy considerations (PII handling, hashed IDs).

4. Send your first event

⚠ TODO — Engineering
Paste an event-tracking snippet. Use a realistic example event (e.g. app_opened or checkout_started) with 1-2 properties.

5. Verify

⚠ TODO — Engineering
Tell the developer how to verify the Kotlin SDK is connected — link to the live-events view in the panel, mention the typical 1-2 second latency, and what 'success' looks like.

Next steps