-
Notifications
You must be signed in to change notification settings - Fork 285
feat(fcm): Add image in notification support. #298
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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)
src/test/java/com/google/firebase/messaging/FirebaseMessagingIT.java
Outdated
Show resolved
Hide resolved
I think there's no need to validate the imageUrl argument since the HTTP API also does not do the check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Add image in notification support.
Testing
API Changes
RELEASE NOTE: Added new APIs for specifying an image URL in notifications.