Skip to content

Commit

Permalink
feat(iOS): change iOS react header import style to work with Expo SDK (
Browse files Browse the repository at this point in the history
…#134)

Co-authored-by: abing <abing@gcores.com>
  • Loading branch information
ouabing and ouabing committed Mar 13, 2022
1 parent 9420afc commit 297095f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions ios/RNCookieManagerIOS/RNCookieManagerIOS.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
*/

#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif

#import <WebKit/WebKit.h>

Expand Down
4 changes: 0 additions & 4 deletions ios/RNCookieManagerIOS/RNCookieManagerIOS.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
*/

#import "RNCookieManagerIOS.h"
#if __has_include("RCTConvert.h")
#import "RCTConvert.h"
#else
#import <React/RCTConvert.h>
#endif

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

0 comments on commit 297095f

Please sign in to comment.