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.m | |
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.m')
-rw-r--r-- | Firebase/Messaging/FIRMessagingConstants.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Firebase/Messaging/FIRMessagingConstants.m b/Firebase/Messaging/FIRMessagingConstants.m index 4e55ad2..8904cc5 100644 --- a/Firebase/Messaging/FIRMessagingConstants.m +++ b/Firebase/Messaging/FIRMessagingConstants.m @@ -41,6 +41,7 @@ NSString *const kFIRMessagingRemoteNotificationsProxyEnabledInfoPlistKey = NSString *const kFIRMessagingApplicationSupportSubDirectory = @"Google/FirebaseMessaging"; // Notifications +NSString *const kFIRMessagingCheckinFetchedNotification = @"com.google.gcm.notif-checkin-fetched"; NSString *const kFIRMessagingAPNSTokenNotification = @"com.firebase.iid.notif.apns-token"; NSString *const kFIRMessagingFCMTokenNotification = @"com.firebase.iid.notif.fcm-token"; NSString *const kFIRMessagingInstanceIDTokenRefreshNotification = |