Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Question New API level requirements - level 31

Discussion in 'Android' started by dradb, Aug 19, 2023.

  1. dradb

    dradb

    Joined:
    Jan 10, 2015
    Posts:
    86
    Google's new API level requirements seem contradictory:
    "Existing apps must target API level 31 or above to remain available to users on devices running Android OS higher than your app's target API level. Apps that target API level 30 or below (target API level 29 or below for Wear OS), will only be available on devices running Android OS same or lower than your apps’ target API level."

    This seems to suggest that 2 versions are needed for existing apps, if the app is to cover API levels above and below 31 ... one for below level 31 and one for above.

    Help please.
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,018
    I don't think that's what it's saying. It says that if you don't have a release with API level 31 and up, it won't show / serve your app to devices that have API level 31 and up and only show it to devices with older OS versions.

    Therefore to target all devices you need to have an API 31 and up release.

    Target API is not the same as minimum API. The notice from Google says nothing about minimum API level.
     
  3. dradb

    dradb

    Joined:
    Jan 10, 2015
    Posts:
    86

    Thank you. Yes, I mis-read it.