-
Notifications
You must be signed in to change notification settings - Fork 289
Update doc string for dryRun in FCM send methods. #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…annot be used to validate APNS tokens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Chong! A couple nits for you.
src/main/java/com/google/firebase/messaging/FirebaseMessaging.java
Outdated
Show resolved
Hide resolved
* FCM performs all the necessary validations, and emulates the send operation. | ||
* FCM performs all the necessary validations, and emulates the send operation. {@code dryRun} | ||
* option is useful for validating if an FCM registration has been deleted. But it cannot be used | ||
* to validate APNS tokens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest "APNs"
src/main/java/com/google/firebase/messaging/FirebaseMessaging.java
Outdated
Show resolved
Hide resolved
@@ -161,8 +163,10 @@ public BatchResponse sendAll( | |||
* send the entire list as a single RPC call. Compared to the {@link #send(Message)} method, this | |||
* is a significantly more efficient way to send multiple messages. | |||
* | |||
* <p>If the {@code dryRun} option is set to true, the messages will not be actually sent. Instead | |||
* FCM performs all the necessary validations, and emulates the send operation. | |||
* <p>If the {@code dryRun} option is set to true, the message will not be actually sent. Instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments as above.
src/main/java/com/google/firebase/messaging/FirebaseMessaging.java
Outdated
Show resolved
Hide resolved
Friendly ping :) (Sorry I think I forgot to client the re-request review button) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, some optional nits to consider. Thanks!
src/main/java/com/google/firebase/messaging/FirebaseMessaging.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/firebase/messaging/FirebaseMessaging.java
Outdated
Show resolved
Hide resolved
Thanks Eric! |
Update doc string for dryRun in FCM send methods to mention that it cannot be used to validate APNS tokens.