diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-01-03 12:12:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 12:12:22 -0800 |
commit | f08b5044d64197a3227017ad44235a2bd7421691 (patch) | |
tree | 0ea97726a39d1746acf260f42ef35c18f363f4e2 /Firebase/Auth/Source | |
parent | 9179dd86bfa507ede505c788a513e3824ad01856 (diff) |
Add Community Supported tvOS (#590)
Add Community Supported tvOS for Core, Auth, Database and Storage.
Add tvOS unit tests
Add tvOS sample app
Update README.md
Add tvOS to travis testing
Diffstat (limited to 'Firebase/Auth/Source')
-rw-r--r-- | Firebase/Auth/Source/FIRAuthAPNSTokenManager.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/FIRAuthAPNSTokenManager.m b/Firebase/Auth/Source/FIRAuthAPNSTokenManager.m index 7775305..215a391 100644 --- a/Firebase/Auth/Source/FIRAuthAPNSTokenManager.m +++ b/Firebase/Auth/Source/FIRAuthAPNSTokenManager.m @@ -73,7 +73,9 @@ static const NSTimeInterval kLegacyRegistrationTimeout = 30; } else { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" +#if TARGET_OS_IOS [_application registerForRemoteNotificationTypes:UIRemoteNotificationTypeAlert]; +#endif // TARGET_OS_IOS #pragma clang diagnostic pop } }); |