🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@kafudev/react-native-alibc

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kafudev/react-native-alibc - npm Package Compare versions

Comparing version
0.1.11
to
0.1.12
+6
-11
ios/AlibcSdkBridge.m

@@ -165,3 +165,3 @@ //

NSInteger res = [[AlibcTradeSDK sharedInstance].tradeService
openByUrl:param[@"url"]
openByUrl:(NSString *)param[@"url"]
identity:@"trade"

@@ -184,2 +184,4 @@ webView:view.webView

[appRootVC presentViewController:view animated:YES completion:nil];
NSDictionary *ret = @{@"code": @1, @"msg":@"打开成功"};
resolve(ret);
}

@@ -235,3 +237,6 @@ return;

[appRootVC presentViewController:view animated:YES completion:nil];
NSDictionary *ret = @{@"code": @1, @"msg":@"打开成功"};
resolve(ret);
}
return;
}

@@ -251,12 +256,2 @@

- (void)scene:(UIScene *)scene openURLContexts:(NSSet<UIOpenURLContext *> *)URLContexts {
[URLContexts enumerateObjectsUsingBlock:^(UIOpenURLContext * _Nonnull obj,
BOOL * _Nonnull stop) {
if([[AlibcTradeSDK sharedInstance] application:nil
openURL:obj.URL
options:nil]){
*stop = YES;
}
}];
}
@end
{
"name": "@kafudev/react-native-alibc",
"version": "0.1.11",
"version": "0.1.12",
"description": "阿里百川sdk",

@@ -5,0 +5,0 @@ "main": "lib/commonjs/index",