code-gambit/VT-AndroidClient

[BUG] app crashes while loading file when one user logs out and then logins with another account

danishjamal104 opened this issue · 0 comments

Describe the bug
When user A logs out from the app and then logs in with a different account the app crashes while loading the file in the home fragment.

To Reproduce
Steps to reproduce the behavior:

  1. Open the app
  2. Login with User A, and wait until files are loaded
  3. Go to the profile page. Click LOG OUT
  4. Login with User B, and wait for the file to be loaded.
  5. Observe the app crash.

Expected behavior
The normal workflow of the app must continue for different users.

Device Information:

  • Device: Samsung Galaxy Tab A
  • Version: Android 10

Additional context
This issue might be due to cache clearing. Since when the user is being logged out, the cache is not cleared of the previous user. But this is not sure.

Would you like to work on this issue

  • Yes
  • No