Skip to content

Commit

Permalink
Fix iOS module import for Expo SDK 44 (#455)
Browse files Browse the repository at this point in the history
Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
  • Loading branch information
Bardiamist and Widcket authored Mar 29, 2022
1 parent 891e5b1 commit 9add5fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions ios/A0Auth0.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif

@interface A0Auth0 : NSObject <RCTBridgeModule>

Expand Down
4 changes: 0 additions & 4 deletions ios/A0Auth0.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
#endif
#import <CommonCrypto/CommonCrypto.h>

#if __has_include("RCTUtils.h")
#import "RCTUtils.h"
#else
#import <React/RCTUtils.h>
#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"}
Expand Down

0 comments on commit 9add5fa

Please sign in to comment.