Skip to content

[TECHNICAL] Update min and max SDK level #4743

@jesmrec

Description

@jesmrec

As Google released Android 16, SDK level should be pushed to 36 to avoid problems and deadlines with the platform. This is the list if features, we should check whether we can take advantage of any of them:

https://developer.android.com/about/versions/16/features

Work to do here is:

  • Pushing sdkCompileVersion and sdkTargetVersion to 36
  • Check if app builds and installs
  • Check if any new feature is interesting: create issues for them

On the other hand, our current minimum SDK is 24 (Android 7.0). As Android Studio, this is the current distribution:

Image

Our criteria is setting the minimum on that level that supports at least 95%, so, under 5% could be out. That means, we are on the moment to push from 24 to 28. Under that API level, we are still supporting devices with Android 9.0 (Pie) and newer. As reference, Android 9.0 was released in August 2018.

Work to do here is:

  • In the previous release's release notes, warn that it will be the latest version with support for Android 7 and 8
  • Pushing sdkMinVersion to 28
  • Checking the code to remove and fix references to Android O and older.
  • Basic testing

TASKS

  • Research (if needed)
  • Create branch feature/feature_name
  • Development tasks
    • Implement whatever
    • ...
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions