diff options
Diffstat (limited to 'Firebase/Auth')
-rw-r--r-- | Firebase/Auth/Source/FIRAuthNotificationManager.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/FIRAuthNotificationManager.m b/Firebase/Auth/Source/FIRAuthNotificationManager.m index 624de10..682ffcb 100644 --- a/Firebase/Auth/Source/FIRAuthNotificationManager.m +++ b/Firebase/Auth/Source/FIRAuthNotificationManager.m @@ -109,10 +109,12 @@ static const NSTimeInterval kProbingTimeout = 1; [self->_application.delegate application:self->_application didReceiveRemoteNotification:proberNotification fetchCompletionHandler:^(UIBackgroundFetchResult result) {}]; +#if !TARGET_OS_TV } else if ([self->_application.delegate respondsToSelector: @selector(application:didReceiveRemoteNotification:)]) { [self->_application.delegate application:self->_application didReceiveRemoteNotification:proberNotification]; +#endif } else { FIRLogWarning(kFIRLoggerAuth, @"I-AUT000015", @"The UIApplicationDelegate must handle remote notification for phone number " |