Skip to content

About

Official Kotlin Multiplatform SDK for Amplitude Analytics.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

amplitude-analytics-kmp

Maven Central License: MIT

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.

Why Amplitude KMP?

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.

Features

  • 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

Platforms Supported

Platform Minimum Version
Android API 21 (Android 5.0)
iOS iOS 13.0
iOS Simulator iOS 13.0

Documentation

Native SDK Dependencies

The current build declares these native SDK versions:

See gradle/libs.versions.toml for the version catalog. The iOS constraint permits compatible patch releases; the resolved version depends on the CocoaPods lockfile.

Message to the Amplitude Team

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!

Support

License

This project is licensed under the MIT License.

Related Projects

About

Official Kotlin Multiplatform SDK for Amplitude Analytics.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages