Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Notification: "Google Play-Dienste aktualisieren: Corona-Warn wird nur ausgeführt, wenn du die Google Play-Dienste aktualisierst" #3163

Closed
3 tasks done
Diapolo opened this issue May 12, 2021 · 8 comments
Assignees
Labels
bug Something isn't working microG mirrored-to-jira This item is also tracked internally in JIRA

Comments

@Diapolo
Copy link

Diapolo commented May 12, 2021

Avoid 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

Technical details

  • Device name: Fairphone 2
  • Android version: 10, LineageOS + microG version 0.2.19.211515
  • App version: 2.2.1

Describe the bug

I just tried to do the necessary steps for "Testergebnis abrufen" to learn any new workflows (I do this after each CWA update). When clicking on "Einverstanden" I now get an error message reading "Google Play-Dienste aktualisieren: Corona-Warn wird nur ausgeführt, wenn du die Google Play-Dienste aktualisierst". This was not the case with app version 2.1.2.

Steps to reproduce the issue

CWA1
CWA2
CWA3

Expected behaviour

Open the QR-Code reader.

Possible Fix

When tapping the error message the QR-Code reader opens. Not sure if registering a test would work, as I have none available to scan.

Additional context

I'm using LineageOS for microG, microG version 0.2.19.211515 (https://github.com/microg/GmsCore/releases/tag/v0.2.19.211515)

For reference, this is the issue in the microG repo:
microg/GmsCore#1469


Internal Tracking-ID: EXPOSUREAPP-7264

@Diapolo Diapolo added the bug Something isn't working label May 12, 2021
@Diapolo Diapolo changed the title Error message after CWA 2.2 installation -> you need to upgrade Google services Error message after CWA 2.2.1 installation -> you need to upgrade Google services May 12, 2021
@fynngodau
Copy link
Contributor

The cause might be the new and improved error handling: #2995

It might be helpful to have a look at the logs here.

@vaubaehn
Copy link
Contributor

This reminds me on #75 (comment) : similar configuration, slightly different context.

@heinezen
Copy link
Member

heinezen commented May 13, 2021

Hey @Diapolo ,

Can you make an error report while reproducing the issue (see here for a How-To) and tell us the report ID? This will help us to investigate the problem quicker.

As the others have pointed out, having microG might be the cause of the problem here. We'll se what we can do about it. Tracking ID: EXPOSUREAPP-7264


Corona-Warn-App Open Source Team

@thomasaugsten
Copy link
Member

It looks like the issue is your microG version is not supporting the preConsent authorization introduced by Google 2 month ago. A not available Google method will show this popup

@heinezen heinezen changed the title Error message after CWA 2.2.1 installation -> you need to upgrade Google services Notification: "Google Play-Dienste aktualisieren" May 13, 2021
@heinezen heinezen changed the title Notification: "Google Play-Dienste aktualisieren" Notification: "Google Play-Dienste aktualisieren: Corona-Warn wird nur ausgeführt, wenn du die Google Play-Dienste aktualisierst" May 13, 2021
@heinezen heinezen added the mirrored-to-jira This item is also tracked internally in JIRA label May 13, 2021
@Diapolo
Copy link
Author

Diapolo commented May 13, 2021

Hey @Diapolo ,

Can you make an error report while reproducing the issue (see here for a How-To) and tell us the report ID? This will help us to investigate the problem quicker.

As the others have pointed out, having microG might be the cause of the problem here. We'll se what we can do about it. Tracking ID: EXPOSUREAPP-7264

Corona-Warn-App Open Source Team

I'd love to send an error report, but it seems you also require SafetyNet for sending error reports? I'm getting the message: "Etwas ist schiefgelaufen. Die Befragung kann aktuell nicht aufgerufen werden. Bitte versuchen Sie es später noch mal (Fehlercode ATTESTATION_FAILED)."

My phone is rooted and so doesn't pass SafetyNet...

@heinezen
Copy link
Member

@Diapolo Ah I didn't think about that. Thanks for trying anyway. It does not work on microG currently, although we are thinking about alternative solutions: corona-warn-app/cwa-wishlist#356


Corona-Warn-App Open Source Team

@fynngodau
Copy link
Contributor

Just to make everyone else here aware of this too, @Diapolo has opened a corresponding issue for microG and @mar-v-in added a change that fixes this behavior in microg/GmsCore#1469 (comment).

@Diapolo
Copy link
Author

Diapolo commented May 14, 2021

@heinezen Would be really nice to not enforce SafetyNet or implement alternative solutions :). At least the commit mentioned by @fynngodau fixed this issue here. So closing the ticket.

@Diapolo Diapolo closed this as completed May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working microG mirrored-to-jira This item is also tracked internally in JIRA
Projects
None yet
Development

No branches or pull requests

6 participants