aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-04-24 15:39:53 -0700
committerGravatar GitHub <noreply@github.com>2018-04-24 15:39:53 -0700
commit6a432ad6281c8f387e643757aba12d616f6757fd (patch)
tree2b64fdbfee09ecf164c3b099b98fce27e862cf7a /Firebase/Auth
parentbc6ebff07e303e6739130a540f44704f0c1acffb (diff)
Eliminate an Auth tvOS build warning (#1159)
Diffstat (limited to 'Firebase/Auth')
-rw-r--r--Firebase/Auth/Source/FIRAuthNotificationManager.m2
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 "