aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Chen Liang <chliang@google.com>2018-02-13 16:15:05 -0800
committerGravatar GitHub <noreply@github.com>2018-02-13 16:15:05 -0800
commit933be73191d654bf6db01814994e54f7fe0c0136 (patch)
tree715ca5c7ba923cff160421c63c2ed1ffbe053acc
parent0f3c24b22fb6f708c8c0b55321fd21be7b0b0bd2 (diff)
Improve documentation on auto-init property in FCM. (#792)
-rw-r--r--Firebase/Messaging/Public/FIRMessaging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Firebase/Messaging/Public/FIRMessaging.h b/Firebase/Messaging/Public/FIRMessaging.h
index 33dd596..31e8625 100644
--- a/Firebase/Messaging/Public/FIRMessaging.h
+++ b/Firebase/Messaging/Public/FIRMessaging.h
@@ -356,6 +356,11 @@ NS_SWIFT_NAME(Messaging)
* Is Firebase Messaging token auto generation enabled? If this flag is disabled,
* Firebase Messaging will not generate token automatically for message delivery.
*
+ * If this flag is disabled, Firebase Messaging does not generate new tokens automatically for
+ * message delivery. If this flag is enabled, FCM generates a registration token on application
+ * start when there is no existing valid token. FCM also generates a new token when an existing
+ * token is deleted.
+ *
* This setting is persisted, and is applied on future
* invocations of your application. Once explicitly set, it overrides any
* settings in your Info.plist.