• cornshark@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    8 months ago

    targetSdk is different than minSdk.

    targetSdk means the app is aware of newer devices and is used to make sure the app is updated and supports new security features, like runtime permissions and scoped storage, when run on newer devices. This is to get out of a state where newer devices have to emulate skipping all those protections to keep apps running that were built without knowledge of them.

    minSdk is the minimum android version an app needs to function. To my knowledge there’s nothing stopping apps from declaring any minSdk, even 1, and continuing to install and function on Android from 2007 if they choose.

    • zarenki@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      There is one caveat: Google Play Services and by extension Google’s Play Store stopped receiving updates on Android 4.4 (released late 2013) last August, just before that OS hit 10 years old. Even so, the servers still work with that old app in the short term and there are alternatives for installing apps without relying on Google Play at all.

      That 10 year age is for the OS, not the device. Nexus 4 for example launched in 2012 with Android 4.2 and got updates up to Android 5.1.1 in 2015. So it still gets Play Store updates now. You can install apps from other sources, and you don’t need to rely on internet or servers for initial setup if you don’t want to, and you can even install a custom OS like Lineage’s build of Android 8.1.

      Nexus 4’s 2.5 years of OS updates was still abysmally low compared to how long phones should be perfectly usable for. Yet that 12 year old phone remains far more usable this year than a <5 year old Oculus Quest soon will be.

    • Joe Cool@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      Yup, plenty of stuff still gets updates on my old phone running Android 4.