Add default implementation to SessionListener
This commit is contained in:
parent
9ca5fbdc08
commit
a18eb6eb5e
8 changed files with 2 additions and 18 deletions
|
|
@ -75,10 +75,6 @@ class DefaultAnalyticsService(
|
|||
analyticsStore.setAnalyticsId(analyticsId)
|
||||
}
|
||||
|
||||
override suspend fun onSessionCreated(userId: String) {
|
||||
// Nothing to do
|
||||
}
|
||||
|
||||
override suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean) {
|
||||
// Delete the store when the last session is deleted
|
||||
if (sessionStore.getAllSessions().isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue