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:

Home Page:https://coronawarn.app/en/faq/#ramp_down

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow QR code scan from file without camera permissions

MikeMcC399 opened this issue · comments

Avoid duplicates

  • Issue is not mentioned in the FAQ
  • Issue is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • Issue is not already reported in another issue

Technical details

  • Device name: Google Pixel 3a emulator
  • Android version: 12
  • App version: 2.25.0-RC1

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

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

Same on iOS , moving to wishlist