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

All FCMAndroidConfig fields optional #34

Merged
merged 1 commit into from
Jul 26, 2021
Merged

All FCMAndroidConfig fields optional #34

merged 1 commit into from
Jul 26, 2021

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