From 297095f89789e12da2bbdd50c08d54a5207ad674 Mon Sep 17 00:00:00 2001 From: abing Date: Mon, 14 Mar 2022 02:57:53 +0800 Subject: [PATCH] feat(iOS): change iOS react header import style to work with Expo SDK (#134) Co-authored-by: abing --- ios/RNCookieManagerIOS/RNCookieManagerIOS.h | 4 ---- ios/RNCookieManagerIOS/RNCookieManagerIOS.m | 4 ---- 2 files changed, 8 deletions(-) diff --git a/ios/RNCookieManagerIOS/RNCookieManagerIOS.h b/ios/RNCookieManagerIOS/RNCookieManagerIOS.h index a80d253..f780534 100644 --- a/ios/RNCookieManagerIOS/RNCookieManagerIOS.h +++ b/ios/RNCookieManagerIOS/RNCookieManagerIOS.h @@ -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 -#endif #import diff --git a/ios/RNCookieManagerIOS/RNCookieManagerIOS.m b/ios/RNCookieManagerIOS/RNCookieManagerIOS.m index 4ad5859..bde2385 100644 --- a/ios/RNCookieManagerIOS/RNCookieManagerIOS.m +++ b/ios/RNCookieManagerIOS/RNCookieManagerIOS.m @@ -6,11 +6,7 @@ */ #import "RNCookieManagerIOS.h" -#if __has_include("RCTConvert.h") -#import "RCTConvert.h" -#else #import -#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://).";