Skip to content

Commit

Permalink
fix(tvOS): Do not import CoreTelephony on tvOS (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdion authored and matt-oakes committed Sep 7, 2019
1 parent 97c1820 commit 3fe3c6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/RNCNetInfo.m
Expand Up @@ -10,7 +10,10 @@

#include <ifaddrs.h>
#include <arpa/inet.h>

#if !TARGET_OS_TV
@import CoreTelephony;
#endif

#import <React/RCTAssert.h>
#import <React/RCTBridge.h>
Expand Down

0 comments on commit 3fe3c6f

Please sign in to comment.