Reference to file in QR scan from camera error message
See original GitHub issueAvoid duplicates
- Bug is not mentioned in the FAQ
- Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
- Bug is not already reported in another issue The bug was already mentioned in https://github.com/corona-warn-app/cwa-wishlist/issues/343#issuecomment-925622491 and was not actioned from there. Note that the typo (canned) is reported in https://github.com/corona-warn-app/cwa-app-android/issues/4155.
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
- Set locale to English (United States)
- Tap “Certificates” tab (tap “CONTINUE” if necessary)
- Tap “+ CERTIFICATE” and scan any non-CWA code such as
- Note the pop-up message which refers to “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:
- Created 2 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top GitHub Comments
PR: https://github.com/corona-warn-app/cwa-app-android/pull/4185
Good morning @MikeMcC399 , thanks for the feedback!