From 6a432ad6281c8f387e643757aba12d616f6757fd Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Tue, 24 Apr 2018 15:39:53 -0700 Subject: Eliminate an Auth tvOS build warning (#1159) --- Firebase/Auth/Source/FIRAuthNotificationManager.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Firebase/Auth') 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 " -- cgit v1.2.3