Make sure not to collect device info

This commit is contained in:
Jackson Harper
2023-09-15 12:14:23 +08:00
parent e1c5fc7f2e
commit 3f835293ed
2 changed files with 3 additions and 2 deletions

View File

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

View File

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