Describe the bug
When a user denies camera permission on iOS Safari and then tries to scan a DevCard QR code, the scanner shows a blank screen with no error message or prompt to re-enable permissions.
Steps to Reproduce
- Open DevCard on iOS Safari
- Deny camera permission when prompted
- Try to use QR scanner
- Screen goes blank — no feedback shown
Expected Behavior
App should show a clear error message with a link to iOS Settings to re-enable camera access.
Suggested Fix
Catch the NotAllowedError from getUserMedia() and display a user-friendly dialog with instructions to re-enable camera permission in Settings.
Describe the bug
When a user denies camera permission on iOS Safari and then tries to scan a DevCard QR code, the scanner shows a blank screen with no error message or prompt to re-enable permissions.
Steps to Reproduce
Expected Behavior
App should show a clear error message with a link to iOS Settings to re-enable camera access.
Suggested Fix
Catch the
NotAllowedErrorfromgetUserMedia()and display a user-friendly dialog with instructions to re-enable camera permission in Settings.