Skip to content

Bug: QR code scanner fails silently on iOS Safari when camera permission is denied #610

Description

@Nareshkumawat-star

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

  1. Open DevCard on iOS Safari
  2. Deny camera permission when prompted
  3. Try to use QR scanner
  4. 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.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions