Merge pull request #4708 from vector-im/feature/bma/analytics_before_release
Disable automatic opt-in screen display
This commit is contained in:
commit
0411291515
1
changelog.d/4559.feature
Normal file
1
changelog.d/4559.feature
Normal file
@ -0,0 +1 @@
|
||||
Setup Analytics framework using PostHog. Analytics are disabled by default. Opt-in screen not automatically displayed yet.
|
@ -83,9 +83,12 @@ class HomeActivityViewModel @AssistedInject constructor(
|
||||
observeInitialSync()
|
||||
checkSessionPushIsOn()
|
||||
observeCrossSigningReset()
|
||||
observeAnalytics()
|
||||
// Disable Analytics opt-in automatic display
|
||||
// Waiting for translation and for analytic events to be actually sent
|
||||
// observeAnalytics()
|
||||
}
|
||||
|
||||
@Suppress("unused")
|
||||
private fun observeAnalytics() {
|
||||
if (analyticsConfig.isEnabled) {
|
||||
analyticsStore.didAskUserConsentFlow
|
||||
|
Loading…
Reference in New Issue
Block a user