File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Example/ios/RNAppAuthExample Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3030 return YES ;
3131}
3232
33+ - (BOOL )application : (UIApplication *)app openURL : (NSURL *)url options : (NSDictionary <NSString *, id> *) options {
34+ return [self .authorizationFlowManagerDelegate resumeExternalUserAgentFlowWithURL: url];
35+ }
36+
3337- (NSURL *)sourceURLForBridge : (RCTBridge *)bridge
3438{
3539#if DEBUG
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ Make `AppDelegate` conform to `RNAppAuthAuthorizationFlowManager` with the follo
341341Add the following code to ` AppDelegate.m` (to support iOS 10 and below)
342342
343343` ` ` diff
344- + (BOOL)application:(UIApplication * )app openURL:(NSURL * )url options:(NSDictionary< NSString * , id> * ) options {
344+ + - (BOOL)application:(UIApplication * )app openURL:(NSURL * )url options:(NSDictionary< NSString * , id> * ) options {
345345+ return [self.authorizationFlowManagerDelegate resumeExternalUserAgentFlowWithURL:url];
346346+ }
347347` ` `
You can’t perform that action at this time.
0 commit comments