Open siwymilek opened 8 years ago
@siwymilek Very interested with this PR, thank you ! Do you plan to finalize it ?
@siwymilek Did you test it for real ? Currently, the data format is : {"data": {"message": "My message"}}
According to the FCM doc, it should be : {"notification": {"body": "My message"}}
https://firebase.google.com/docs/cloud-messaging/http-server-ref
@EmmanuelVella As far as I understand the notification
parameter is going to show notification immediately, but the data
parameter is passing payload to application and developer should handle it by himself.
That sound right ! Thank you 👍
@richsage could I please you to review this PR?
@siwymilek interested in your PR, do you plan to finalize it?
Firstly, thanks for this PR! :-)
Aside from the inline comments above, could you also please add some detail or external reference about the
setFCMOptions()
method and what it can be used for.And is the
dry_run
flag available for FCM at all? I'm not familiar with it, but as it seems to be based closely on GCM...