corona-warn-app / cwa-wishlist

Central repository to collect community feature requests and improvements. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
106 stars 14 forks source link

Allow QR code scan from file without camera permissions #851

Closed MikeMcC399 closed 1 year ago

MikeMcC399 commented 1 year ago

Avoid duplicates

Technical details

Describe the issue

The Universal QR Scanner does not allow scanning from a file unless camera permissions are granted.

Steps to reproduce the issue

On Android system

  1. If CWA is installed, then uninstall app

  2. Install CWA (or run from Android Studio) and complete onboarding

  3. In CWA, tap Scan

  4. In pop-up "Allow app-name to take pictures and record video" tap "Don't allow" Camera permissions

  5. In pop-up "Camera access required", tap "Do Not Allow" Camera access

  6. Note that the QR Code Scanner with the option "Open File" is dismissed, the display returns to the main screen, and it is not possible to scan from a file.

Expected behavior

Since the camera is not involved when scanning from a file, it should be possible to scan a QR code from a file without granting the app camera permissions.

Enhancement request

Even if camera permissions are not granted, allow scanning from file (Open File option in QR Code Scanner screen).


Internal Tracking ID: EXPOSUREAPP-13639

dsarkar commented 1 year ago

@MikeMcC399 Thanks for suggesting this enhancement. Internal Tracking ID: EXPOSUREAPP-13639

mtwalli commented 1 year ago

Same on iOS , moving to wishlist