Android product analytics installation
The best way to install the PostHog Android library is with a build system like Gradle. This ensures you can easily upgrade to the latest versions.
All you need to do is add the posthog-android module to your App's build.gradle or build.gradle.kts:
app/build.gradle
Configuration
The best place to initialize the client is in your Application subclass.
Kotlin