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

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -