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/Database/Realtime/FWebSocketConnection.m | |
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/Database/Realtime/FWebSocketConnection.m')
-rw-r--r-- | Firebase/Database/Realtime/FWebSocketConnection.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firebase/Database/Realtime/FWebSocketConnection.m b/Firebase/Database/Realtime/FWebSocketConnection.m index 0fd07e5..49d6bd8 100644 --- a/Firebase/Database/Realtime/FWebSocketConnection.m +++ b/Firebase/Database/Realtime/FWebSocketConnection.m @@ -25,7 +25,7 @@ #import "FStringUtilities.h" #import "FIRDatabase_Private.h" -#if TARGET_OS_IOS +#if TARGET_OS_IOS || TARGET_OS_TV #import <UIKit/UIKit.h> #endif @@ -85,7 +85,7 @@ BOOL hasUiDeviceClass = NO; // Targetted compilation is ONLY for testing. UIKit is weak-linked in actual release build. - #if TARGET_OS_IOS + #if TARGET_OS_IOS || TARGET_OS_TV Class uiDeviceClass = NSClassFromString(@"UIDevice"); if (uiDeviceClass) { systemVersion = [uiDeviceClass currentDevice].systemVersion; |