File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -168,10 +168,18 @@ -(void)application:(UIApplication *)application didReceiveRemoteNotification:(no
168168
169169// Required for deeplinking
170170- (BOOL )application : (UIApplication *)application openURL : (NSURL *)url options : (NSDictionary <UIApplicationOpenURLOptionsKey,id> *)options {
171+ // Handle MSAL URLs first before passing to RCTLinkingManager
172+ if ([self handleMSALURL: url]) {
173+ return YES ;
174+ }
171175 return [RCTLinkingManager application: application openURL: url options: options];
172176}
173177
174178- (BOOL )application : (UIApplication *)application openURL : (NSURL *)url sourceApplication : (NSString *)sourceApplication annotation : (id )annotation {
179+ // Handle MSAL URLs first before passing to RCTLinkingManager
180+ if ([self handleMSALURL: url]) {
181+ return YES ;
182+ }
175183 return [RCTLinkingManager application: application openURL: url sourceApplication: sourceApplication annotation: annotation];
176184}
177185
You can’t perform that action at this time.
0 commit comments