Skip to content

Commit 297095f

Browse files
authored
feat(iOS): change iOS react header import style to work with Expo SDK (#134)
Co-authored-by: abing <[email protected]>
1 parent 9420afc commit 297095f

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

ios/RNCookieManagerIOS/RNCookieManagerIOS.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
66
*/
77

8-
#if __has_include("RCTBridgeModule.h")
9-
#import "RCTBridgeModule.h"
10-
#else
118
#import <React/RCTBridgeModule.h>
12-
#endif
139

1410
#import <WebKit/WebKit.h>
1511

ios/RNCookieManagerIOS/RNCookieManagerIOS.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
*/
77

88
#import "RNCookieManagerIOS.h"
9-
#if __has_include("RCTConvert.h")
10-
#import "RCTConvert.h"
11-
#else
129
#import <React/RCTConvert.h>
13-
#endif
1410

1511
static NSString * const NOT_AVAILABLE_ERROR_MESSAGE = @"WebKit/WebKit-Components are only available with iOS11 and higher!";
1612
static NSString * const INVALID_URL_MISSING_HTTP = @"Invalid URL: It may be missing a protocol (ex. http:// or https://).";

0 commit comments

Comments
 (0)