Android - Denying permissions to use camera is not handled
See original GitHub issueIf you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Trying to use the camera, but you have previously denied permissions the app should clearly indicate that you need to update permissions in settings (since we’re no longer allowed to ask)
Actual Result:
You try to use the camera the attachment menu just closes without explanation
Action Performed:
- Have a freshly installed app, or set app camera permissions to “deny” in settings
- Open a Chat
- Select the plus (+) button
- Select “Add attachment”
- Select “Take Photo”
- You are prompted for permissions
- Select “Deny & don’t ask again”
- You can optionally restart the app at this point (it won’t matter)
- Select the plus (+) button
- Select “Add attachment”
- Select “Take Photo”
- The menu closes. Nothing else happens. You see no message.
Workaround:
The user needs to go in Android settings, search for “permissions” or go to e.cash settings and manually set permission to “allow”
Platform:
Where is this issue occurring?
Web iOS [x] Android Desktop App Mobile Web
Version Number: 1.0.10-2 (First sawed on 1.0.6-3) Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
For comparison on iOS
this works correctly and you’d see this when you have denied permissions:
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
I’ve already addressed this in #2114 as it was directly related
Sweet, thanks for clarifying other Peter! Closing this issue out 😃