-
Notifications
You must be signed in to change notification settings - Fork 496
Make app run on Android 5 Lollipop (sdkversion 21) #649
Comments
Hi @messersm , thank's for your feedback, unfortunately that's not possible because of the min. version of the Exposure Notification API (page 3, on the bottom). We would really like to increase the user base with such a change, but as I said it isn't technically possible. Thanks, |
@harambasicluka The code itself declares version 21 as the minimum: https://github.com/google/exposure-notifications-android/blob/master/app/build.gradle#L35 Could we please, if nothing else, keep this open? I don't think the last word is spoken on this one. |
Latvia uses minSdk=21 so it should be possible? https://play.google.com/store/apps/details?id=lv.spkc.gov.apturicovid |
I guess the Exposure Notifications API documentation has been updated recently:
Maybe the minSdk version should be reconsidered? |
Good find! |
Feature description
The Corona warning app should be able to run on Android 5 (Lollipop, skdversion 21).
Problem and motivation
According to the Android distribution chart in Android Studio Lollipop (5.1 and 5.2) is used by 9.2 percent. With a total market share of 75% and around 90% of the german population owning a smartphone the corona app is excluding approx. 5.163.571 people from using it (on Android alone).
Lollipop is used on smartphones, which where released 3-4 years ago. It's clear, that people, who buy used phones or keep phones longer (that is: people with not much money!) are the ones, who can't use the app.
I don't think this is acceptable given the fact, that the whole population should be protected.
Is this something you're interested in working on
Yes, I would be willing to work on this and already began, but I need help (and also, I'm neither experienced in writing Kotlin, nor with writing Android Apps, so if anyone else want's to jump in, please do!).
I was able to get the (debug) app build for sdkversion 21 by upgrading to
androidx.security:security-crypto:1.1.0-alpha01
.You can take a look at this here: messersm@ab55569
However, the application crashes on start, with:
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/security/keystore/KeyGenParameterSpec$Builder;
(Line 165). I guess, this has to do with the fact, thatandroidx.security:security-crypto:1.1.0-alpha01
doesn't use the keystore on lollipop (see here: https://developer.android.com/jetpack/androidx/releases/security#security-crypto-1.1.0-alpha01) and some libraries are loaded by name lookups (since the app did compile and install).The text was updated successfully, but these errors were encountered: