Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lowering Android min SDK to 21 #159

Merged
merged 4 commits into from
Apr 27, 2023
Merged

Conversation

gbourassa
Copy link
Member

Description

Trikot should try to keep minimum android version requirements as low as possible, so that legacy projects that still use 21 as their min SDK can use it.

There is nothing in the code that actually requires a min SDK of 24.

Motivation and Context

Some older projects still have their min SDK set at 21, and this should not prevent us from including Trikot.

How Has This Been Tested?

Android samples are still running, all check tasks still pass, lib can be included in a 21+ project with success.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

lint {
abortOnError = true
checkReleaseBuilds = true
disable.add("NotificationPermission")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no way to have this on a more granular level?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly, but it's the sample project(s), so I'd say it's good enough.
For more context, this is a weird linting issue triggered by Picasso following the update of the Gradle plugin. Updating Picasso version may have helped, but it seemed less risky to simply disable the check.

@gbourassa gbourassa merged commit 5868896 into master Apr 27, 2023
@gbourassa gbourassa deleted the fix/android-minsdk-version branch April 27, 2023 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants