When clearing cache, also reset some data store in prefs/datastore.
This commit is contained in:
committed by
Benoit Marty
parent
e566bab75d
commit
7207afebcc
+4
@@ -78,6 +78,10 @@ class DefaultAnalyticsService @Inject constructor(
|
||||
analyticsStore.setDidAskUserConsent()
|
||||
}
|
||||
|
||||
override suspend fun reset() {
|
||||
analyticsStore.setDidAskUserConsent(false)
|
||||
}
|
||||
|
||||
override fun getAnalyticsId(): Flow<String> {
|
||||
return analyticsStore.analyticsIdFlow
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user