diff options
author | Riz <rsattar@gmail.com> | 2017-10-12 16:09:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 16:09:07 -0700 |
commit | 2b40693be4c9aa2c94b668fb144c6993f557b8d6 (patch) | |
tree | cb1462b6df4132e67a665331def8f4fc9cd78edc /Firestore | |
parent | 230c78b5ed7ea80f7ff9aa67c6b12a2794c08718 (diff) |
Add simpler delegate method for FCM tokens (#375)
This new delegate method will be called generally once per app start, to always provide a current token. This token may change over time. This simpler method makes integration much simpler, as:
* Developers no longer have to check for a current token using the `.fcmToken` property, and also check for token changes using the `-messaging:didRefreshRegistrationToken:` delegate method.
* There is a single code path for when a token is available, making operations that depend on a token being available easier to implement. For example, this is the right method to always upload your FCM token to your application server, or to subscribe to topics, etc.
Diffstat (limited to 'Firestore')
0 files changed, 0 insertions, 0 deletions