FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(fcm): Add image in notification support. by chong-shao · Pull Request #298 · firebase/firebase-admin-java · GitHub

feat(fcm): Add image in notification support. - #298

Merged
chong-shao merged 5 commits into
masterfrom
image_in_notification
Aug 27, 2019
Merged

feat(fcm): Add image in notification support.#298
chong-shao merged 5 commits into
masterfrom
image_in_notification

Conversation

chong-shao commented Aug 5, 2019
edited by hiranya911
Loading

Copy link
Copy Markdown
Contributor

Add image in notification support.

Testing

  • Added unit tests and modified one existing integration test to reflect this change.

API Changes

  • In Firebase Cloud Messaging, added "image" field in the general Notification class, the AndroidNotification class, and the ApnsFcmOptions class.

RELEASE NOTE: Added new APIs for specifying an image URL in notifications.

chong-shao requested a review from hiranya911 August 14, 2019 23:06
hiranya911 changed the title Add image in notification support. feat(fcm): Add image in notification support. Aug 20, 2019

hiranya911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks pretty good. Just a few suggestions.

Do we need to validate the imageUrl argument? (check not not empty and parse as a valid URL)

chong-shao commented Aug 27, 2019
edited
Loading

Copy link
Copy Markdown
Contributor Author

I think there's no need to validate the imageUrl argument since the HTTP API also does not do the check.

hiranya911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM 👍

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL