-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minSdkVersion 16 is incorrect #24
Comments
@bakua You're right, we will update it to 21. One question, do you need to support devices ranging from 16 - 21? |
Well it is always nice being able to reach more users with a digital product. More importantly I don't know how the device segmentation looks like in emerging markets, maybe old androids make a significant portion? Personally, I believe that since Flutter itself is 16+ then you guys want to be able to support all versions. I know that it is nice to have shiny latest okhttp there, but Amplitude is the only library I've run into that limits us to reach api 16 - 21 users. |
Do you know how much percent of your users are on 16-21? |
Before I've migrated to flutter it was about 0.5%. Which, if you are a high revenue business can pay for a developer or two. Looking at https://gs.statcounter.com/android-version-market-share/mobile-tablet/africa there is cca 7% of people on api 16-21. So a lot of people in this emerging market. |
Your android plugin defines minSdkVersion 16. However, you include dependency on com.squareup.okhttp3:okhttp:4.2.2 which supports only Android 21+. Running on device with Android api 16 ends up with java.lang.NoClassDefFoundError: java.util.Objects exception as Objects class is not present in the OS.
The text was updated successfully, but these errors were encountered: