-
Notifications
You must be signed in to change notification settings - Fork 497
Scan errors for non-CWA QR codes pop up on frontend #2909
Comments
If a user inadvertently tries to scan in a QR code from a PCR test instead of from a check in, then the same error occurs. Steps to reproduce
Expected resultIn this special case, a dedicated error message should point users to the correct way of scanning in a PCR test QR code. For other QR codes, which are not in the format for checking in, then a user-friendly error message should be output. |
I tried it with several QR codes from Google Image Search. Same result. Oh, you're fast… 😺 |
@koehntopp @MikeMcC399 Thank you very much for the reports. Internal Tracking ID: EXPOSUREAPP-6658 Corona-Warn-App Open Source Team |
I suggest that you open a new wishlist item regarding #2909 (comment). |
@dsarkar
Is wrongly scanning a PCR Test QR code using the Check-in QR code scanner already covered by Internal Tracking ID: EXPOSUREAPP-6658 or does it need a separate wishlist item? |
What happens on iOS if you try to scan in the sample PCR test QC code using check-in? Do you get a user-friendly error message? |
iOS shows this message, which is quite good I think: |
That would be a new wishlist item. The alignment of iOS and Android error messages is dealt with in this ticket. |
FYI PR #2919 |
In https://github.com/corona-warn-app/cwa-app-android/releases/tag/v2.0.4-RC0 which includes PR "Human friendly QR Dialog Message 9002 (EXPOSUREAPP-6658)" #2919 the issue is fixed in the code, however the message is not translated yet. If the locale is set to English (United Kingdom) then the UI is shown in German. The default strings file includes only German, and the specific English strings file is missing the entries. I assume this is known, however I just wanted to mention it. cwa-app-android/Corona-Warn-App/src/main/res/values/strings.xml Lines 2004 to 2011 in 59015a7
|
@MikeMcC399 Many thanks. Forwarded into internal ticket. |
The missing English language strings have been delivered and incorporated into https://github.com/corona-warn-app/cwa-app-android/releases/tag/v2.0.4-RC1. Scanning the PCR test example QR code, with the device locale set to English (United Kingdom), results in a human-readable error message in English. It looks like the fix is now good to go! |
Google Play Store has already delivered the bug-fix release v2.0.4 to me and I was able to verify that the fix correctly displays a user-friendly error message when scanning the PCR test QR code. From my point of view this issue can be closed. Perhaps @koehntopp can confirm when he is able to update and check? |
@MikeMcC399 Thanks for confirming the fix. |
Dear community, This issue has been fixed in CWA 2.0.4. We will close this issue now. Corona-Warn-App Open Source Team |
From
https://twitter.com/sand2drn/status/1385197350025564163
Exception handling should be improved, meaningful error message shown.
https://github.com/corona-warn-app/cwa-app-android/releases/tag/v2.0.4
Internal Tracking ID: EXPOSUREAPP-6658
The text was updated successfully, but these errors were encountered: