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"
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)