question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reference to file in QR scan from camera error message

See original GitHub issue

Avoid duplicates

Technical details

  • Device name: Samsung Galaxy A5 (2017) SM-A520F
  • Android version: 8.0.0
  • First reported in App version: 2.11.0-RC3
  • Confirmed also present in App version: 2.11.2

Describe the bug

When a user tries to scan an incompatible QR code via the device’s camera, the error message says to select a file (rather than another image).

The text comes from qr_code_no_suitable_qr_code_body

“The QR code cannot be canned (sic) by the Corona-Warn-App. Please select a file with a suitable QR code.”

Steps to reproduce the issue

  1. Set locale to English (United States)
  2. Tap “Certificates” tab (tap “CONTINUE” if necessary)
  3. Tap “+ CERTIFICATE” and scan any non-CWA code such as

    QR Code DE12345678
  4. Note the pop-up message which refers to “file”

No_suitable_QR_code_EN_a_file

Expected behavior

The error message should not refer to a file if a QR code was scanned using the camera.

Possible Fix

The string qr_code_no_suitable_qr_code_body is being used. “The QR code cannot be canned (sic) by the Corona-Warn-App. Please select a file with a suitable QR code.”

Either this string should be made neutral concerning the source of the QR code (camera or file), or the error message should be made dependent on the source of the incorrect QR code, i.e. different message depending on whether scan from camera or scan from file was used.


Internal Tracking-ID: EXPOSUREAPP-9763

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

0reactions
dsarkarcommented, Oct 22, 2021

Good morning @MikeMcC399 , thanks for the feedback!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Scan QR Code? Here's How to Fix a QR Code.
If a QR code won't scan or doesn't work, we got you. Here's a rundown of common QR code issues that leave folks...
Read more >
9 reasons Why Your QR Code is Not Working - Beaconstac blog
Even the most advanced QR Code scanners cannot scan QR Codes if not created correctly. Or was it the faulty QR Code generator?...
Read more >
Common QR Code Scanning Problems and How to Fix Them
Is your QR Code not working? Here is an overview on common QR Code scanning problems and how to solve them in this...
Read more >
Unable to scan QR Code via Camera - Apple Developer
After un-enrolling the device with MDM, the QR Code scanner works as expected. A factory reset selecting "Erase All Content" option was completed...
Read more >
6 Best Ways to Fix QR Code Scanner Not Working on Android
6 Best Ways to Fix QR Code Scanner Not Working on Android · Open the Camera app on your Android phone. · Tap...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found