Skip to content

Latest commit

 

History

67 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostHog KMP

Maven Central License: MIT

The PostHog Kotlin Multiplatform SDK, supporting Android, iOS, Web (JS and Wasm), and JVM (desktop) from shared Kotlin code. PostHog is an open source platform for product analytics, feature flags, session replay, error tracking, and more.

It's a thin wrapper that delegates to the official PostHog SDKs on each target, so you get native batching, queueing, and session replay behind a single common API. The Web targets both delegate to posthog-js; Wasm support is experimental while Kotlin/Wasm remains in Beta.

Installation instructions, usage examples, and code snippets live in the official documentation so they stay up to date.

On iOS, the KMP SDK imports posthog-ios with Kotlin's SwiftPM integration. KMP applications should use direct integration and add the generated SwiftPM linkage package to their Xcode project; CocoaPods is not required.

Documentation

Questions?

Contributing

See CONTRIBUTING.md for local setup and test instructions, and RELEASING.md for the release process.

License

MIT

About

PostHog Kotlin Multiplatform SDK

Resources

Code of conduct

Contributing

Security policy

Stars

15 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages