Build app for Android 11
See original GitHub issueAvoid duplicates
- This enhancement request has not already been raised before
- Enhancement request is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in CWA-Wishlist
- If you are proposing a new feature, please do so in CWA-Wishlist
Current Implementation
The Android version of the Corona-Warn-App version 2.2.x is built with
targetSdkVersion 29
equivalent to Android 10. This is true also for branches release/2.3.x and release/2.4.x intended for future releases.
Suggested Enhancement
Update the Android CWA release to build against API 30 (Android 11).
Expected Benefits
According to https://developer.android.com/distribute/best-practices/develop/target-sdk “Starting in November 2021, app updates will be required to target API level 30 or above and adjust for behavioral changes in Android 11.” (Thanks to @PhilippNowak96 for this link.)
Since the release of the first version of CWA in June 2020, last year, Android has released Android 11. Apart from new devices being released with Android 11 from the beginning, also mid-range Android 10 devices such as Samsung Galaxy A50 devices, previously running Android 10, are being offered Android 11 firmware updates.
In addition Android 12 became available as a beta release in May 2021 (see https://developer.android.com/about/versions/12). The SDK is labelled “S Preview”.
Advanced users may be migrating to Android 12 beta and observe compatibility problems if (Uncertain if this statement is true.)targetSdkVersion 29
is not updated.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
PR https://github.com/corona-warn-app/cwa-app-android/pull/3310 has now merged https://github.com/corona-warn-app/cwa-app-android/blob/36e77c9200e9b63ee65308025e4e2eadd82192ea/Corona-Warn-App/build.gradle#L30
into release/2.4.x.
One more thing to keep in mind: In November 2021 it will be necessary to target API 30 or no updates can be published anymore
https://developer.android.com/distribute/best-practices/develop/target-sdk