https://github.com/posthog/posthog-android
PostHog Android SDK
https://github.com/posthog/posthog-android
android posthog sdk
Last synced: 17 days ago
JSON representation
PostHog Android SDK
- Host: GitHub
- URL: https://github.com/posthog/posthog-android
- Owner: PostHog
- License: other
- Created: 2020-04-29T09:43:13.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2026-05-21T21:49:46.000Z (22 days ago)
- Last Synced: 2026-05-21T22:24:17.340Z (22 days ago)
- Topics: android, posthog, sdk
- Language: Kotlin
- Homepage: https://posthog.com/docs/libraries/android
- Size: 3.46 MB
- Stars: 82
- Watchers: 15
- Forks: 38
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
- Agents: AGENTS.md
Awesome Lists containing this project
README
[](https://github.com/PostHog/posthog-android/actions)
| Packages | Maven Central | Min Version |
|-----------------| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
| posthog-android | [](https://maven-badges.herokuapp.com/sonatype-central/com.posthog/posthog-android) | Android API 21 |
| posthog (core) | [](https://maven-badges.herokuapp.com/sonatype-central/com.posthog/posthog) | Java 8 |
| posthog-server | [](https://maven-badges.herokuapp.com/sonatype-central/com.posthog/posthog-server) | Java 8 |
| posthog-android-gradle-plugin | [](https://maven-badges.herokuapp.com/sonatype-central/com.posthog/posthog-android-gradle-plugin) | Java 8 |
# PostHog Android & JVM SDKs
This repository contains PostHog's Android and JVM SDKs. PostHog is an open source platform for product analytics, feature flags, session replay, and more.
## Packages
### posthog-android
Full-featured Android SDK with automatic screen tracking, session recording, and Android-specific features.
```kotlin
implementation("com.posthog:posthog-android:$latestVersion")
```
**Documentation:** [posthog-android/](./posthog-android/) | **Usage:** [posthog-android/USAGE.md](./posthog-android/USAGE.md)
### posthog (core)
Pure Kotlin/JVM library suitable for environment specific SDK integrations.
```kotlin
implementation("com.posthog:posthog:$latestVersion")
```
**Documentation:** [posthog/](./posthog/) | **Usage:** [posthog/USAGE.md](./posthog/USAGE.md)
### posthog-server
Pure Kotlin/JVM library suitable for server integrations.
```kotlin
implementation("com.posthog:posthog-server:$latestVersion")
```
**Documentation:** [posthog-server/](./posthog-server/) | **Usage:** [posthog-server/USAGE.md](./posthog-server/USAGE.md)
### posthog-android-gradle-plugin
Gradle plugin suitable for Android-specific features.
```kotlin
implementation("com.posthog:posthog-android-gradle-plugin:$latestVersion")
```
**Documentation:** [posthog-android-gradle-plugin/](./posthog-android-gradle-plugin/) | **Usage:** [posthog-android-gradle-plugin/USAGE.md](./posthog-android-gradle-plugin/USAGE.md)
## Documentation
Please see the main [PostHog docs](https://posthog.com/docs).
Specifically, the [Android docs](https://posthog.com/docs/libraries/android) details.
## Questions?
### [Check out our community page.](https://posthog.com/posts)