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

breaking(android): replace magic numbers with android.os.Build constants #821

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

jcesarmobile
Copy link
Member

Breaking because it won't compile in old cordova-android versions, engines should be updated to only allow cordova-android 9 and a major bump should be done on next release

Reverts #803

Copy link
Member

@timbru31 timbru31 left a comment

Choose a reason for hiding this comment

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

If we go with a breaking change, we should be safe to delete some safeguard? - as we agreed to support only Android 5.1 and higher (some code checks for, e.g., 17/Jellybean or >= 21/Lollipop.

@jcesarmobile
Copy link
Member Author

Yeah, this is just a revert of the previous commit where the magic numbers were introduced.
I plan to do some code cleanup in future PRs

@jcesarmobile jcesarmobile merged commit 11b1347 into master Nov 24, 2020
@jcesarmobile jcesarmobile deleted the revert-803-compile-old branch November 24, 2020 14:49
@NiklasMerz NiklasMerz added this to the 5.0.0 milestone Nov 25, 2020
FE-Roger pushed a commit to hogangnono/cordova-plugin-inappbrowser that referenced this pull request Sep 27, 2021
jessyefuster pushed a commit to jessyefuster/cordova-plugin-inappbrowser that referenced this pull request Aug 16, 2023
pesi-hgc pushed a commit to pesi-hgc/cordova-plugin-inappbrowser-transparent that referenced this pull request Nov 3, 2023
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.

3 participants