Cwa-app-android: Android 11 ENS requirements

Created on 7 Aug 2020  路  9Comments  路  Source: corona-warn-app/cwa-app-android

Avoid duplicates

  • [x] Bug is not mentioned in the FAQ
  • [x] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • [x] Bug is not already reported in another issue

description

According to Google, ENS does no longer require location services to be active in order to work, starting from Android 11 [1]. Thus, the CWA should not send a notification to Android 11 users when location services are deactivated. I have verified that the notification appears on a phone running Android 11, but still exposure logging seems to work fine (CWA indicates this).

I'm currently quite busy but can take care of this myself, probably next week. As Android 11 is not yet officially published and the app's core functionality is most likely not affected, I'd say this is not time critical for now.

[1] https://blog.google/inside-google/company-announcements/update-exposure-notifications/


Internal Tracking ID: EXPOSUREAPP-2050

bug mirrored-to-jira

Most helpful comment

I just realized that this has been resolved in the meantime: https://github.com/corona-warn-app/cwa-app-android/pull/1057

All 9 comments

@GPclips @JoachimFritsch Does the assignment and transfer to JIRA indicate, that you'll take care of it internally or shall I work on it?

Hello @duchampdev,

we added this to our internal JIRA and informed, as well as assigned the bug, to our dev team.
We will start working on it as soon as possible.

Thanks for asking,
LMM

Corona-Warn-App Open Source Team

Just to confirm that as expected, the issue as described by @duchampdev for Android 11 Beta is also still applicable to the final version of Android 11 (tested on Pixel 2) and the current CWA version (1.3.1).

I just realized that this has been resolved in the meantime: https://github.com/corona-warn-app/cwa-app-android/pull/1057

The onboarding screen on a clean install on Android 11 still shows a card that location services need to be activated ("Standortverwendung erlauben"). This card should not be displayed on Android 11:
Screenshot_20201019-152409

@duchampdev @MikeJayDee I think we should either

a) reopen this issue, to signify that it's not resolved
or
b) move the problem @MikeJayDee discovered into a new separate issue.

What do you think?

@svengabr

@MikeJayDee @svengabr @duchampdev
The provided text has a lack of information. Showing ([...]until Android 11) or not showing the Card would be better (but here are edgecases for different Beta-Versions of Android 11 when to show the card and when not).
I reported this UI issue and there will probably be a better in-app information flow in the future.
Thanks for reporting!

As this issue doesn't effect the core function (locationless scanning under Android 11) issue stays closed.

@MikeJayDee / @daimpi
The issue with CWA on Android 11 prompting to "Allow location access" still occurs on CWA 1.5.1.

Allow location access

I can reproduce this in a Pixel 3a Android 11 emulator with Use location disabled:

  1. Clean install of CWA 1.5.1
  2. Open CWA
  3. Tap "LET'S GET STARTED"
  4. Tap "NEXT"
  5. On screen "How to Enable Exposure Logging" scroll down to the section under "The following countries currently participate" and note the message "Allow location access".
  6. Tap "ACTIVATE EXPOSURE LOGGING" and confirm with "Turn on"
  7. Tap "NEXT" twice and tap "Ok", "ALLOW" and "Allow"
  8. Not that status shows "EXPOSURE LOGGING ACTIVE" despite the warning that location access must be enabled.

This may become a user issue when Android 11 is rolled out in larger numbers. At the moment I have only seen Pixel devices running Android 11, but next month I would expect Samsung for instance to start rolling out updates to Android 11.

Even if it is not logged here as an open issue, the FAQ entry https://www.coronawarn.app/en/faq/#android_location
needs to be updated accordingly. (Edit: FAQ issue logged under https://github.com/corona-warn-app/cwa-website/issues/539.)

Was this page helpful?
0 / 5 - 0 ratings