mitchtabian / Open-API-Android-App

Kotlin, MVI, Hilt, Retrofit2, Coroutines, Room Persistence, REST API, Token Authentication
690 stars 230 forks source link

Bugfix: launching account fragment caused AuthToken to be deleted by RoomDB #36

Closed matej-gutman closed 2 years ago

matej-gutman commented 2 years ago

The way to reproduce the bug:

Bug: The token gets deleted. This causes user to be asked for login when closing the app, simply because of visiting the 'Account' fragment.

Test environment: AVD, x86, Android 11, Android Studio 4.2.2.