Skip to content

All FCMAndroidConfig fields optional#34

Merged
MihaelIsaev merged 1 commit intoMihaelIsaev:masterfrom
sroebert:android-config-optional
Jul 26, 2021
Merged

All FCMAndroidConfig fields optional#34
MihaelIsaev merged 1 commit intoMihaelIsaev:masterfrom
sroebert:android-config-optional

Conversation

@sroebert
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

It works fine yes.

@sroebert
Copy link
Copy Markdown
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
Copy Markdown
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