-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-app camera does not open when location permission is revoked #5273
Comments
Tested this on android 12 emulator, I think this got fixed by #5299 |
Tested it on my Android 8.1 device. For me, the in-app camera now opens up with a toast without asking for location permission even on a fresh installation :( |
I observe the behaviour similar to what Ritika mentions. On a fresh install, the location permission request dialog opens as expected but the "Turn on location?" dialog does not open. The app proceeds to trigger the image capture despite this. Weirdly, when we come back from the upload screen the app shows the "Turn on location?" dialog. The dialog should've been shown before the image capture was triggered. Here's a screen recording that demonstrates the issue. App-turn-on-location-shown-later.mp4Also, the "Nearby" section of the app also does not seem to be asking for the "Turn on location?" dialog either. |
Interestingly, from the screencast, #5255 seems fixed now 🤔 |
Summary
The in-app camera should open even when the user does not grant location permission to the app. While this works fine in the first run, it does not open when the permission is denied for the second time or revoked later. For more details, you may check this comment.
Steps to reproduce
Expected behaviour
The in-app camera should open again with the same toast.
Actual behaviour
The in-app camera does not open at all.
Device name
Redmi 5A
Android version
8.1.0
Commons app version
master and prodDebug
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
None
The text was updated successfully, but these errors were encountered: