Skip to content

Conversation

@sroebert
Copy link
Contributor

All fields in FCMAndroidConfig are suppose to be optional. Since you currently cannot create the FCMAndroidConfig for only setting one particular field, this PR makes all fields optional, allowing to only set certain parameters.

Copy link
Owner

@MihaelIsaev MihaelIsaev left a comment

Choose a reason for hiding this comment

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

Have you tested and sure that it works well with all optional fields?

@sroebert
Copy link
Contributor Author

It works fine yes.

@sroebert
Copy link
Contributor Author

I reverted back the default value for the priority, the other values are all optional, so these should not change anything for existing library users.

@MihaelIsaev MihaelIsaev merged commit 54a380a into MihaelIsaev:master Jul 26, 2021
@MihaelIsaev
Copy link
Owner

@sroebert thank you very much for the contribution! These changes are now available since 2.11.0 tag.

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