Analytics: explicitly optOut, maybe useful for stats captured automatically.
This commit is contained in:
parent
622483cf9f
commit
805fcb6bd3
|
@ -114,6 +114,7 @@ class DefaultVectorAnalytics @Inject constructor(
|
||||||
getUserConsent()
|
getUserConsent()
|
||||||
.onEach { consent ->
|
.onEach { consent ->
|
||||||
userConsent = consent
|
userConsent = consent
|
||||||
|
posthog?.optOut(!consent)
|
||||||
}
|
}
|
||||||
.launchIn(GlobalScope)
|
.launchIn(GlobalScope)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue