Skip to content

Commit

Permalink
fix based on auth0#369
Browse files Browse the repository at this point in the history
  • Loading branch information
jinpark committed Jul 5, 2022
1 parent 46cd8e1 commit 82afd48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/A0Auth0.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ - (void)presentAuthenticationSession:(NSURL *)url usingEphemeralSession:(BOOL)ep
NSURLQueryItem *queryItem = [[queryItems
filteredArrayUsingPredicate:predicate]
firstObject];
NSString *callbackURLScheme = queryItem.value;
NSString *callbackURLScheme = [[NSURL URLWithString: queryItem.value] scheme];
RCTResponseSenderBlock callback = self.sessionCallback ? self.sessionCallback : ^void(NSArray *_unused) {};

if (@available(iOS 12.0, *)) {
Expand Down

0 comments on commit 82afd48

Please sign in to comment.