update universal link

master
wanghualei 2021-03-05 13:12:29 +08:00
parent d9dd08d8c0
commit cd1033c642
2 changed files with 14 additions and 3 deletions

View File

@ -86,8 +86,19 @@ static MopPlugin *_instance;
}
}
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *, id> *)options {
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *, id> *)options
{
return [[FATClient sharedClient] handleOpenURL:url];
}
-(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
{
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
NSURL *url = userActivity.webpageURL;
NSLog(@"url = %@",url.absoluteString);
}
return YES;
}
@end

View File

@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk.
s.dependency 'Flutter'
s.ios.deployment_target = '9.0'
s.dependency 'FinApplet' , '2.22.0-alpha20210303v01'
s.dependency 'FinAppletExt' , '2.22.0-alpha20210303v01'
s.dependency 'FinApplet' , '2.22.1-alpha20210305v01'
s.dependency 'FinAppletExt' , '2.22.1-alpha20210305v01'
end