A community-maintained Kotlin Multiplatform wrapper for Amplitude Analytics. It wraps the official Android and Swift SDKs and provides a shared Kotlin API for Android and iOS applications.
Track events, manage user identity, and record revenue from shared Kotlin code while using the native Amplitude SDK on each platform. The API follows the Android SDK's conventions; platform differences and unsupported legacy APIs are documented in the usage guide and known limitations.
- Shared Kotlin API for Android and iOS
- Native SDK integration with the official Android and Swift SDKs
- Event tracking with event properties and callbacks
- User properties through the type-safe Identify API
- Revenue tracking and group operations
- Custom plugins, with documented iOS limitations
- Session management, automatic capture, and offline event queueing
| Platform | Minimum Version |
|---|---|
| Android | API 21 (Android 5.0) |
| iOS | iOS 13.0 |
| iOS Simulator | iOS 13.0 |
- Usage Guide — installation, quick start, configuration, API examples, migration, and troubleshooting
- Native SDK Compatibility — Android/iOS API coverage, behavior differences, and wrapper gaps
- Known Limitations — iOS plugin and callback restrictions
- Contributing — project structure, building, testing, publishing, and contributing
- Changelog — release notes and migration information
- Sample Applications — sample project overview
- Official Amplitude Documentation
The current build declares these native SDK versions:
- Android:
com.amplitude:analytics-android:1.23.1 - iOS:
AmplitudeSwift ~> 1.16.6through CocoaPods
See gradle/libs.versions.toml for the version catalog. The iOS constraint permits compatible patch releases; the resolved version depends on the CocoaPods lockfile.
Hello Amplitude Team, I've made this Kotlin Multiplatform SDK to help developers use Amplitude in their multiplatform
apps because of this issue. Please consider officially
supporting and maintaining this SDK as part of the Amplitude family. I'll be happy to talk about this, you can reach me
out from my GitHub profile. We could transfer this repository to the Amplitude
organization and publish it under the official com.amplitude Maven group. Thank you!
This project is licensed under the MIT License.
- Amplitude-Kotlin — native Android SDK
- Amplitude-Swift — native iOS SDK
- Amplitude-TypeScript — JavaScript/TypeScript SDK
- Amplitude-Flutter — Flutter SDK
- Amplitude-React-Native — React Native SDK