From 9add5fa0c9829268a33aac1b753b98e482b0ac6f Mon Sep 17 00:00:00 2001 From: Bardiamist <6ast3r@gmail.com> Date: Tue, 29 Mar 2022 09:19:11 +0700 Subject: [PATCH] Fix iOS module import for Expo SDK 44 (#455) Co-authored-by: Rita Zerrizuela --- ios/A0Auth0.h | 4 ---- ios/A0Auth0.m | 4 ---- 2 files changed, 8 deletions(-) diff --git a/ios/A0Auth0.h b/ios/A0Auth0.h index 83235103..798ba97b 100644 --- a/ios/A0Auth0.h +++ b/ios/A0Auth0.h @@ -1,8 +1,4 @@ -#if __has_include("RCTBridgeModule.h") -#import "RCTBridgeModule.h" -#else #import -#endif @interface A0Auth0 : NSObject diff --git a/ios/A0Auth0.m b/ios/A0Auth0.m index f9c9a4ea..59d71e8b 100644 --- a/ios/A0Auth0.m +++ b/ios/A0Auth0.m @@ -6,11 +6,7 @@ #endif #import -#if __has_include("RCTUtils.h") -#import "RCTUtils.h" -#else #import -#endif #define ERROR_CANCELLED @{@"error": @"a0.session.user_cancelled",@"error_description": @"User cancelled the Auth"} #define ERROR_FAILED_TO_LOAD @{@"error": @"a0.session.failed_load",@"error_description": @"Failed to load url"}