|
|
@@ -14,6 +14,7 @@ |
|
|
|
#import "FlutterWxViewCtrlViewController.h" |
|
|
|
#import <AlibabaAuthEntrance/ALBBSDK.h> |
|
|
|
#import <AlibabaAuthEntrance/ALBBCompatibleSession.h> |
|
|
|
#import "UTDID/UTDevice.h" |
|
|
|
@implementation FlutterAlibcHandle |
|
|
|
FlutterMethodChannel *_flutterAlibcChannel = nil; |
|
|
|
|
|
|
@@ -293,6 +294,14 @@ FlutterMethodChannel *_flutterAlibcChannel = nil; |
|
|
|
BOOL isNeed = [call.arguments[@"isNeed"] boolValue]; |
|
|
|
[[AlibcTradeSDK sharedInstance] setShouldUseAlizfNative:isNeed]; |
|
|
|
} |
|
|
|
|
|
|
|
//获取udid |
|
|
|
- (void)getUdid:(FlutterMethodCall *)call result:(FlutterResult)result{ |
|
|
|
NSUUID *identifierForVendor = [[UIDevice currentDevice] identifierForVendor]; |
|
|
|
NSDictionary* map=@{@"udid" : [UTDevice utdid]}; |
|
|
|
result(map); |
|
|
|
} |
|
|
|
|
|
|
|
#pragma mark - 不对flutter暴露 |
|
|
|
#pragma mark --打开page |
|
|
|
- (void)OpenPageByNewWay:(id<AlibcTradePage>)page BizCode:(NSString *)bizCode Call:(FlutterMethodCall *)call callback:(FlutterResult)callback{ |
|
|
|