Skip to content

Commit 933be73

Browse files
Improve documentation on auto-init property in FCM. (firebase#792)
1 parent 0f3c24b commit 933be73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Firebase/Messaging/Public/FIRMessaging.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,11 @@ NS_SWIFT_NAME(Messaging)
356356
* Is Firebase Messaging token auto generation enabled? If this flag is disabled,
357357
* Firebase Messaging will not generate token automatically for message delivery.
358358
*
359+
* If this flag is disabled, Firebase Messaging does not generate new tokens automatically for
360+
* message delivery. If this flag is enabled, FCM generates a registration token on application
361+
* start when there is no existing valid token. FCM also generates a new token when an existing
362+
* token is deleted.
363+
*
359364
* This setting is persisted, and is applied on future
360365
* invocations of your application. Once explicitly set, it overrides any
361366
* settings in your Info.plist.

0 commit comments

Comments
 (0)