posthog-android
posthog-android copied to clipboard
PostHog Android SDK
## :bulb: Motivation and Context - Move away from https://github.com/postHog/posthog-java - Start using the https://mvnrepository.com/artifact/com.posthog/posthog library - Fix issues such as https://github.com/PostHog/posthog-java/issues/50, https://github.com/PostHog/posthog-java/issues/51 and https://github.com/PostHog/posthog-java/issues/53 - Support feature flags and...
### Description - [ ] Android - [ ] iOS - [X] Flutter (when calling `screen` via PosthogObserver or manually) - [X] RN (when calling `screen` via wix, react-navigation or...
### Description https://posthog.com/questions/how-to-filter-out-usage-from-i-os-android-simulators-emulators [ ] iOS [ ] Android [ ] RN [ ] Flutter will get it for free once Android and RN is updated.
### Description Relates to https://github.com/PostHog/posthog-js/pull/524 `const isKnownAnonymous = this.persistence.get_user_state() === 'anonymous'` is the check where we know if calling `identify` again is allowed or not. If the user is already...
### Description Relates to https://github.com/PostHog/posthog-js-lite/issues/110 You can use Surveys thru the APIs directly, see this [comment](https://github.com/PostHog/posthog-js-lite/issues/110#issuecomment-1909994007).
Integrating Posthog in Kotlin multiplatform projects currently requires integrating the android and ios libraries separatly. With a multiplatform library the code for android and ios must not be duplicated and...
## :bulb: Motivation and Context They now match the taxonomy https://github.com/PostHog/posthog/edit/master/frontend/src/lib/taxonomy.tsx ## :green_heart: How did you test it? fix: device_model and device_name properties were inverted ## :pencil: Checklist - [X]...
## :bulb: Motivation and Context ## :green_heart: How did you test it? ## :pencil: Checklist - [ ] I reviewed the submitted code. - [ ] I added tests to...
### Description https://github.com/PostHog/posthog/pull/22216 `$is_identified` is the property to filter identified users or not (anonymous). https://github.com/PostHog/posthog-js/blob/7022ab69505959fb065d41870d2bceeb69145916/src/posthog-core.ts#L912 JS SDK uses the `$user_state` super property to track if the user has identified already...
### Version 3.4.2 ### Steps to Reproduce 1. Initialise posthog in the application onCreate: ``` val config = PostHogAndroidConfig( apiKey = BuildConfig.ANDROID_KEY_POSTHOG, host = "https://eu.i.posthog.com", captureScreenViews = true, captureApplicationLifecycleEvents =...