Skip to content

Commit

Permalink
Use only scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonIT committed Jun 2, 2021
1 parent 888f8c7 commit b35ef11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNInAppBrowser.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ + (BOOL)requiresMainQueueSetup
}
};

NSString *escapedRedirectURL = [redirectURL stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLHostAllowedCharacterSet]];
NSString *escapedRedirectURL = [[NSURL alloc] initWithString:redirectURL].scheme;

if (@available(iOS 12.0, *)) {
webAuthSession = [[ASWebAuthenticationSession alloc]
Expand Down

0 comments on commit b35ef11

Please sign in to comment.