Skip to content
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

App crashes if permissions not given #16

Open
mdhishaamakhtar opened this issue Jul 23, 2021 · 0 comments
Open

App crashes if permissions not given #16

mdhishaamakhtar opened this issue Jul 23, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@mdhishaamakhtar
Copy link
Contributor

Describe the bug
The app asks for permission at the starting in the splash screen but if permissions are granted and manually removed, it isn't asked again and the app crashes when camera is accessed

To Reproduce
Steps to reproduce the behavior:

  1. Open the app and accept the permissions
  2. Remove the permissions manually from the device
  3. Login using any credentials and try to join a club. Press the QR code button to scan a QR code and the app crashes

Expected behavior
If permissions are taken away manually, the app should ask for permission again

Environment
Android 11 phone with MIUI

Possible solution
Add a check when camera opens for permission

Additional context
Discovered by @BRO3886

@mdhishaamakhtar mdhishaamakhtar added the bug Something isn't working label Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant