-
Notifications
You must be signed in to change notification settings - Fork 289
feat(fcm): Add 12 new android notification params support #320
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
Thanks @chong-shao! |
Opps I forgot to add DefaultLightSettings .. We should include it. Will add it soon |
Added DefaultLightSettings. |
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 mostly good. Make sure the public APIs accept primitives whenever possible. And I thought some of the builders were slightly overkill.
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
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.
Thanks for making the changes. This is very close to being done. Just a few nits to address.
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
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.
Thanks. Looks pretty good. Just a last couple of nits.
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
@egilmorez please take a look at the API doc components of this PR. |
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. Please wait for @lahirumaramba and @egilmorez to make a pass.
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!
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/AndroidNotification.java
Outdated
Show resolved
Hide resolved
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.
Some suggests for you Chong.
Thanks!
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.
LG Chong, thanks!
(I should have know that backticks don't work in Javadoc :) )
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.
Just one comment about setter names. Then we can merge.
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.
Thanks. LGTM 👍
…xpected value of eventTime does not depend on the machine's local timezone.
Add 12 new android notification params support
Testing
API Changes
RELEASE NOTE: Added a series of new parameters to the
AndroidNotification
class that allow further customization of notifications that target Android devices.