corona-warn-app / cwa-app-android

Native Android app using the Apple/Google exposure notification API. 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
2.44k stars 495 forks source link

Incorrect behavior if PCR test certificate cannot be issued #3784

Open fynngodau opened 3 years ago

fynngodau commented 3 years ago

Describe the bug

During PCR test retrieval, the Request EU COVID Certificate fragment is shown even if the site doesn’t support them. After requesting, the error that the certificate is not “yet” available is shown. Only once touching Try Again in the certificates tab for the pending certificate, one can read that the testing point does not issue them at all.

For rapid tests, the Request screen is not shown if the certificate is not available.

Steps I performed that lead to this issue

  1. Perform PCR test

  2. Wait until PCR test result is available

  3. Scan CWA QR code

  4. Enter correct DOB on Request Certificate screen

  5. See error message: certificate not available yet https://github.com/corona-warn-app/cwa-app-android/blob/63df24be9d2bc1bfb324325d79b1c8b0f8606f4d/Corona-Warn-App/src/main/res/values/green_certificate_strings.xml#L81

  6. Go to certificates tab

  7. Touch Try Again

  8. See error message: certificate won't be issued, site doesn't support it https://github.com/corona-warn-app/cwa-app-android/blob/63df24be9d2bc1bfb324325d79b1c8b0f8606f4d/Corona-Warn-App/src/main/res/values/green_certificate_strings.xml#L75

Expected behaviour


Internal Tracking ID: EXPOSUREAPP-8543

dsarkar commented 3 years ago

@fynngodau Thanks. Internal Tracking ID: EXPOSUREAPP-8543


Corona-Warn-App Open Source Team