Add default implementation to SessionListener
This commit is contained in:
committed by
Benoit Marty
parent
44e125dbc7
commit
66d8e6210d
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user