Skip to content

Investigate minSdk requirement #410

Description

@EdricChan03

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Android Lollipop (API 21) appears to be used by 2% of devices globally according to https://apilevels.com, so I think we should be save to bump the minSdk requirement to a higher version

Currently, Jetpack Compose requires minSdk = 21+, which is what the app currently uses:

However, there's probably no real benefit in supporting such a low percentile 🤷

Expected behaviour

minSdk should be a higher version to allow for newer Android features to be used without having to backport changes (e.g. removing explicit Marshmallow checks for runtime permissions, weird behaviours on older versions), etc

Reproduction steps

N.A.

Application variant

Release, Debug, Nightly

Application version

No response

Application version code

No response

Relevant log output

No response

Possible solution

We can:

  • bump minSdk to a higher version, or
  • backport any relevant libraries that requires a higher minSdk to 21 if necessary (probably not the ideal solution)

Additional context

Trying to incorporate Telephoto (image zooming composable) into the app, which requires minSdk = 23 as of 0.4.0

Pinned by EdricChan03

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureIssues/PRs related to the app's architecture.blockedIssues/PRs that are currently blocked by external factors.bugBugs that have appeared in the release/ debug version of the app.code healthIssues/PRs related to improving code quality/healthhelp wantedIssues/ PRs that will benefit help from the community.questionAll questions related to the web version of the repo.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions