We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997de9f commit dbea48fCopy full SHA for dbea48f
ios/RNInAppBrowser.m
@@ -90,7 +90,10 @@ + (BOOL)requiresMainQueueSetup
90
}
91
};
92
93
- NSString *escapedRedirectURL = [[NSURL alloc] initWithString:redirectURL].scheme;
+ NSString *escapedRedirectURL = nil;
94
+ if (redirectURL) {
95
+ escapedRedirectURL = [[NSURL alloc] initWithString:redirectURL].scheme;
96
+ }
97
98
if (@available(iOS 12.0, *)) {
99
webAuthSession = [[ASWebAuthenticationSession alloc]
0 commit comments