diff options
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthNotificationManager.m')
-rw-r--r-- | Firebase/Auth/Source/FIRAuthNotificationManager.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Firebase/Auth/Source/FIRAuthNotificationManager.m b/Firebase/Auth/Source/FIRAuthNotificationManager.m index b1dd34c..624de10 100644 --- a/Firebase/Auth/Source/FIRAuthNotificationManager.m +++ b/Firebase/Auth/Source/FIRAuthNotificationManager.m @@ -104,14 +104,14 @@ static const NSTimeInterval kProbingTimeout = 1; kNotificationProberKey : @"This fake notification should be forwarded to Firebase Auth." } }; - if ([_application.delegate respondsToSelector: + if ([self->_application.delegate respondsToSelector: @selector(application:didReceiveRemoteNotification:fetchCompletionHandler:)]) { - [_application.delegate application:_application + [self->_application.delegate application:self->_application didReceiveRemoteNotification:proberNotification fetchCompletionHandler:^(UIBackgroundFetchResult result) {}]; - } else if ([_application.delegate respondsToSelector: + } else if ([self->_application.delegate respondsToSelector: @selector(application:didReceiveRemoteNotification:)]) { - [_application.delegate application:_application + [self->_application.delegate application:self->_application didReceiveRemoteNotification:proberNotification]; } else { FIRLogWarning(kFIRLoggerAuth, @"I-AUT000015", |