When clearing cache, also reset some data store in prefs/datastore.

This commit is contained in:
Benoit Marty 2023-07-18 00:18:48 +02:00 committed by Benoit Marty
parent e566bab75d
commit 7207afebcc
10 changed files with 38 additions and 1 deletions

View file

@ -58,4 +58,9 @@ interface AnalyticsService: AnalyticsTracker, ErrorTracker {
* To be called when a session is destroyed.
*/
suspend fun onSignOut()
/**
* Reset the analytics service (will ask for user consent again).
*/
suspend fun reset()
}