3 ms·
Just so we're clear on scope - 1.1% of global Android devices is still 20+ million customers. That's 2/3 of all iPhone X devices sold by the end of 2017 (quoted
by izacus 9y ago
Just so we're clear on scope - 1.1% of global Android devices is still 20+ million customers. That's 2/3 of all iPhone X devices sold by the end of 2017 (quoted at 30 million).
Also that dashboard can be misleading - if you check any english app you'll probably have more like 40% of 7.0 and 10-20% of Oreo deployed.
As for targeting - targetSdk determines against which version of Android APIs are you linking against (the stub .jar) and by extension which compatibility shims will new Android versions use. If you listen to a linter and properly guard usage of APIs added in newest Androids then the app will run well on old Android versions as well.
The main benefit of this change is security - if your app doesn't target Android 6.0 or newer, it's exempt from the new permissions system introduced in 6.0.A lot of companies, including large ones like Facebook and Snap, deliberately refused to support new Android features so they could access hardware and collect data without explicitly asking for permission.
This change forces them to start using those new APIs.