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

fix(android): Migrate plugins from Color.parseColor() to WebColor.parseColor() #140

Merged
merged 5 commits into from
Dec 17, 2020

Conversation

thomasvidas
Copy link
Contributor

@thomasvidas thomasvidas commented Dec 14, 2020

Depends on ionic-team/capacitor#3947

Change all Color.parseColor() to WebColor.parseColor() to make sure that Colors from web to Android are correctly parsed. Android format is #AARRGGBB and Web Format is #RRGGBBAA

@jcesarmobile
Copy link
Member

jcesarmobile commented Dec 15, 2020

I think only the colors that come from the web part should use the new WebColor (meaning, ActionSheet.java doesn't need those changes)

Or in case we want all colors to be WebColor, #33 should be updated as it has a clone class of ActionSheet.java

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

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

looks good

you should probably add a note about it on the upgrade guide
ionic-team/capacitor#3320

@imhoffd imhoffd merged commit 26625cf into main Dec 17, 2020
@imhoffd imhoffd deleted the android-color-fix branch December 17, 2020 17:25
@thomasvidas
Copy link
Contributor Author

Yeah I'm planning on it 👍

hmaretic24 pushed a commit to hmaretic24/capacitor-plugins that referenced this pull request Nov 9, 2022
hmaretic24 added a commit to hmaretic24/capacitor-plugins that referenced this pull request Apr 25, 2023
…ionic-team#140)

# Conflicts:
#	android/src/main/java/com/capacitorjs/plugins/browser/BrowserPlugin.java
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.

None yet

3 participants