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

feat(android): added configurable icon color for local notifications #2548

Merged
merged 4 commits into from
Mar 17, 2020

Conversation

andysousa
Copy link
Contributor

Good day,
I was finding that I needed to customize quite a few things with android local notifications so I decided to put my first PR in to see how it goes.

This PR adds the ability to set an icon color in android. You can do it with the plugin definition or globally in the config.

If this is something the community is interested in... i have already done something similar to make the notification expandable and can put that PR in at some point in the future as well.

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.

Added a few comments

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, thanks!

@jcesarmobile jcesarmobile merged commit 0bfa0bf into ionic-team:master Mar 17, 2020
@jcesarmobile
Copy link
Member

BTW, can you document the plugin preferences you can add in the capacitor.config.json file, such as iconColor?
Similar to this keyboard configurations:
https://capacitor.ionicframework.com/docs/apis/keyboard#keyboard-configuration-ios-only-

@andysousa
Copy link
Contributor Author

sure thing, I will add small Icon too as I don't think that was added

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