ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
8.2k stars 178 forks source link

Min and Target SDK #1935

Closed ghost closed 3 weeks ago

ghost commented 3 weeks ago

Hey,

i saw that the App has Target SDK on 34 and Minimum SDK on 24 and I wanted to ask if you could make Target SDK to 35 for Android 15 and Minimum SDK to 26/28/29/31? I would appreciate that! (Higher is always better)

A higher Minimum SDK version implies that your app supports fewer Android versions, minimizing compatibility issues. Because higher SDK means also Versions which are supported better. It makes the work easier. because Android 12 (SDK 31) is the last version that receives security patches. Further more, the less minSdk, the more internal compatibility layers, techniques etc. For example, lower SDK versions require v1/v2 signing, have somewhat different optimization levels, etc.

ImranR98 commented 3 weeks ago

Are there specific compatibility concerns you have with SDK 24? It used to be lower until the Shizuku features were added, which apparently required a higher minSDK. I don't see the point of increasing it until we actually have to, especially since it would cause some devices to lose support (there was at least one person for whom even SDK 24 was too high so you never know).

I agree about increasing the target SDK.

ImranR98 commented 3 weeks ago

For the target SDK version, I don't set that myself - it depends on the version of Flutter used (manually changing this might cause compatibility issues, idk). Right now, Flutter stable targets SDK 34: https://github.com/flutter/flutter/blob/stable/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy#L56

Closing this issue. The target SDK will be moved up naturally at some point when there is a Flutter update.