Skip to content

Update doc string for dryRun in FCM send methods. - #509

Merged
chong-shao merged 3 commits into
masterfrom
update_fcm_dry_run_doc
Feb 19, 2021
Merged

Update doc string for dryRun in FCM send methods.#509
chong-shao merged 3 commits into
masterfrom
update_fcm_dry_run_doc

Conversation

@chong-shao

@chong-shao chong-shao commented Jan 13, 2021

Copy link
Copy Markdown
Contributor

Update doc string for dryRun in FCM send methods to mention that it cannot be used to validate APNS tokens.

@egilmorez egilmorez left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread src/main/java/com/google/firebase/messaging/FirebaseMessaging.java Outdated
* 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest "APNs"

Comment thread src/main/java/com/google/firebase/messaging/FirebaseMessaging.java Outdated
*
* <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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comments as above.

Comment thread src/main/java/com/google/firebase/messaging/FirebaseMessaging.java Outdated
@chong-shao

chong-shao commented Feb 10, 2021

Copy link
Copy Markdown
Contributor Author

Friendly ping :) (Sorry I think I forgot to client the re-request review button)

@chong-shao
chong-shao requested a review from egilmorez February 10, 2021 23:22

@egilmorez egilmorez left a comment

Copy link
Copy Markdown
Contributor

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!

Comment thread src/main/java/com/google/firebase/messaging/FirebaseMessaging.java Outdated
Comment thread src/main/java/com/google/firebase/messaging/FirebaseMessaging.java Outdated
@chong-shao

Copy link
Copy Markdown
Contributor Author

Thanks Eric!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants