android - Firebase's RemoteMessage object contains no message ID or sent time -


i'm testing firebase's messaging functionality on android through api (not firebase console) getmessageid() returns null , getsenttime() returns 0. can others fields normally, though. bug in firebase or what?

currently using version 9.2.0 of firebase dependencies.

what i'm sending through api is:

{     "to":"frl...",     "data":{"title":"hi",             "body":"such body"     } } 

i'm sending notification fields in data field because want handle notification manually, cannot if use notification field.

turns out bug fixed in version 9.4. more info here https://firebase.google.com/support/release-notes/android#9.4

remotemessage#getmessageid() returns correct message-id received messages. previously, returned null.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -