Skip to content

Commit

Permalink
Return NO to avoid conflicting with other plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvanMo committed Nov 18, 2023
1 parent 5835aa8 commit 74ffd64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ios/Classes/FluwxPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -405,10 +405,10 @@ - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceAppl
// Deprecated since iOS 9
// See https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622964-application?language=objc
// Use `application:openURL:options:` instead.
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
// Since flutter has minimum iOS version requirement of 11.0, we don't need to change the implementation here.
return [WXApi handleOpenURL:url delegate:self];
}
//- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
// // Since flutter has minimum iOS version requirement of 11.0, we don't need to change the implementation here.
// return [WXApi handleOpenURL:url delegate:self];
//}

// Available on iOS 9.0 and later
// See https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623112-application?language=objc
Expand All @@ -429,7 +429,7 @@ - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDiction


// simply return YES to indicate that we can handle open url request later
return YES;
return NO;
}
}

Expand Down

0 comments on commit 74ffd64

Please sign in to comment.