diff options
author | Riz <rsattar@gmail.com> | 2017-09-19 15:08:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 15:08:35 -0700 |
commit | bc99b959e6e593adc3ec324c145c80c8f17934e7 (patch) | |
tree | eef988ab0cbdc7f8f474af0a192444d0735fc5c5 /Firebase/Messaging/FIRMessagingConstants.h | |
parent | 637bf879adc17b9609175499ed0b12e51b64ef7b (diff) |
Fix app launch MCS connection issue (#290)
This fixes a bug in the automatic direct channel logic, where a failure to get checkin info from the Instance ID SDK was resulting in a non-retrying failure, causing the automatic connection logic to not retry connecting. A listener is added for a new notification that will be fired from Instance ID. When that notification is fired, `FIRMessagingClient` will re-attempt to connect.
NOTE: The actual fix will not work until the Firebase InstanceID SDK is also updated.
Diffstat (limited to 'Firebase/Messaging/FIRMessagingConstants.h')
-rw-r--r-- | Firebase/Messaging/FIRMessagingConstants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Firebase/Messaging/FIRMessagingConstants.h b/Firebase/Messaging/FIRMessagingConstants.h index 3112f7a..ad0d6c9 100644 --- a/Firebase/Messaging/FIRMessagingConstants.h +++ b/Firebase/Messaging/FIRMessagingConstants.h @@ -47,6 +47,7 @@ FOUNDATION_EXPORT NSString *const kFIRMessagingRemoteNotificationsProxyEnabledIn FOUNDATION_EXPORT NSString *const kFIRMessagingApplicationSupportSubDirectory; // Notifications +FOUNDATION_EXPORT NSString *const kFIRMessagingCheckinFetchedNotification; FOUNDATION_EXPORT NSString *const kFIRMessagingAPNSTokenNotification; FOUNDATION_EXPORT NSString *const kFIRMessagingFCMTokenNotification; FOUNDATION_EXPORT NSString *const kFIRMessagingInstanceIDTokenRefreshNotification __deprecated_msg("Use kFIRMessagingRegistrationTokenRefreshNotification instead"); |