Skip to content

Commit 5771efb

Browse files
authored
fix(ios): Support Mac Catalyst (react-native-netinfo#415 by @kyle-ssg)
1 parent 40d852a commit 5771efb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ios/RNCNetInfo.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#include <arpa/inet.h>
1313

1414
#if !TARGET_OS_TV
15-
@import CoreTelephony;
15+
#import <CoreTelephony/CTCarrier.h>
16+
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
1617
#endif
1718
@import SystemConfiguration.CaptiveNetwork;
1819

0 commit comments

Comments
 (0)