Skip to content

Commit 347af5c

Browse files
spundunqdpham13
authored andcommitted
Documentation Fix to FM.RemoteMessage.getMessageId (#3419)
Current documentation refers to a side effect of our (now discontinued) delivery-receipt behavior, some customers have started to rely on it.
1 parent 7b3bf3e commit 347af5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-messaging/src/main/java/com/google/firebase/messaging/RemoteMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ public String getCollapseKey() {
158158
/**
159159
* Gets the message's ID.
160160
*
161-
* <p>This will be the message ID set when sending the message or automatically generated by the
162-
* server.
161+
* <p>This is automatically generated by the server. Treat it as an opaque string. Do not rely on
162+
* its format to be consistent.
163163
*
164164
* @return The message ID
165165
*/

0 commit comments

Comments
 (0)