-
Notifications
You must be signed in to change notification settings - Fork 3
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 when no approval has been given to use the camera #28
Comments
This only shows on the first time when doing so. The 2nd attempt just gives a black screen, but no error message of missing access rights. |
It also crashed to the screen shown when selecting "Only this time" |
For your information, this is normal behavior! Simply reconnect and the authorization request for the camera will be requested again. There is nothing to do here |
Can it adjust just show an error message without going back to the login page? Something that says "no QR code can be scanned, camera access not given"? |
Ooook! I haven't tried it on mobile yet, only locally on my PC but it works To see for the formatting (error text) Fixed here: 447cb31 |
On Android it still goes back to the login page; giving 2 error messages:
Furthermore; if no camera permissions are set the app already throws an error message "checkCameraPermissions" on the login page. This error is really only needed on the "Scan QR" page, nowhere else. Also that the app automatically directs to the login page if camera permissions are not given would be better changed. Would be much better if it simply stayed on the "Scan QR" page, but with the error message. |
Also on iOS when the camera permissions are given the app automatically redirects to the login screen. Logging in again and going to "scan QR" will then allow scanning. |
I added a button to request access to the camera but I cannot test it in the web version so it is possible that it is not completely functional |
This was nicely in place, but we are now back at crashing the app. At this stage even on fresh installs and setting the authorisations for camera use for the first time. |
Current behaviour:
For me it brings me to the splash screen. And after that even clicking "Scan QR" gives me the splash screen 😅 Still needs a check before we go to the final version. |
To reproduce: just deny the app from being allowed to use the camera :)
The text was updated successfully, but these errors were encountered: