MessageId field in client payload guaranteed to match MessageId obtained after sending a message on the server? #9757
Unanswered
andynewman10
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Firebase returns an FCM message id when a message is sent on the server side if the operation was successful. This string is in the form:
Notice the last part of the string. When the client receives the message, an
fcmMessageIdfield is present in the payload on the web matching this last part. On mobile, amessageIdis also available.My question is: is it guaranteed that the client
fcmMessageId/messageIdwill be identical to the last part of theMessageIdstring obtained on the server as a result of sending the message using the FCM API?Based on my analysis, it looks like this is the case, but I do not see anything about this in the documentation and searching this forum yielded no result. I want to rely on this id for processing after a multicast send operation, so a guarantee is very important.
Beta Was this translation helpful? Give feedback.
All reactions