[Bug]: Revoking `READ_MEDIA_IMAGES` closes the navigation menu and returns to the login page
Summary
Revoking the android.permission.READ_MEDIA_IMAGES permission while the navigation menu is open causes the menu to disappear and the app to return to the login screen.
Steps to reproduce
- Open the navigation menu.
- Revoke
android.permission.READ_MEDIA_IMAGES. - Observe that the navigation menu disappears.
- The app returns to the Log in to your account page.
Expected behaviour
The current page and open navigation menu should remain in place, or the UI should be restored correctly after the permission change.
Actual behaviour
After revoking the permission, the navigation menu is dismissed and the app unexpectedly returns to the login page.
Device name
No response
Android version
Android 15
Commons app version
6.6.0
Device logs
No response
Screenshots
Would you like to work on the issue?
None
@ByteBreeze233 can u check if the issue exists on version 6.8.0 commons beta app as i have tried to reproduce this issue and was unable to do so?
@devendrachoudharycodes Thanks for checking! I can reproduce the issue in version 6.6.0, but I can’t reproduce it in 6.8.0 beta. I suspect it may have been fixed in the newer version.
I will close for now, but do not hesitate to reopen. Thanks @ByteBreeze233 and @devendrachoudharycodes ! :-)