matomo-org / matomo-sdk-android

SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
BSD 3-Clause "New" or "Revised" License
388 stars 162 forks source link

Why is minSDK to API 10 and not API 9 ? #122

Closed eldk closed 7 years ago

eldk commented 7 years ago

Hello,

Why minSDK is to API 10 and not API 9 ?

https://github.com/piwik/piwik-sdk-android/blob/8cbc3aa41c7de82ba65ce14baefaeb043f7bd4e4/piwik-sdk/build.gradle

https://developer.android.com/about/versions/android-2.3.3.html

https://developer.android.com/sdk/api_diff/10/changes.html

Thanks,

Eric

d4rken commented 7 years ago

API9 was completely replaced by API10, meaning, all devices that got the API9 update, also got the API10 update. There is no noticeable amount of devices still running on API9.

To keep Android code headache free a minSdk should be choosen by "go as low as you need", not by "go as low as you can".

eldk commented 7 years ago

Ok, as I have some users with API 9 reported, I will downgrade to api 9 in my piwik build . Thanks