Merge pull request #2770 from omnivore-app/fix/android-events

Make sure not to collect device info
This commit is contained in:
Jackson Harper
2023-09-15 14:09:30 +08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@ -17,8 +17,8 @@ android {
applicationId "app.omnivore.omnivore"
minSdk 26
targetSdk 33
versionCode 99
versionName "0.0.99"
versionCode 101
versionName "0.0.101"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {

View File

@ -18,6 +18,7 @@ class EventTracker @Inject constructor(val app: Context) {
posthog = PostHog.Builder(app, posthogClientKey, posthogInstanceAddress)
.captureApplicationLifecycleEvents()
.collectDeviceId(false)
.build()
PostHog.setSingletonInstance(posthog)