1.实现chooseAvatar

master
wangzhaoyao 2022-08-25 00:27:14 +08:00
parent 5df1a9e0de
commit 0a5217e652
2 changed files with 13 additions and 2 deletions

View File

@ -142,6 +142,17 @@ static NSString *scheme = @"fatae55433be2f62915";//App对应的scheme
}];
}
- (void)chooseAvatarWithAppletInfo:(FATAppletInfo *)appletInfo bindChooseAvatar:(void (^)(NSDictionary *result))bindChooseAvatar {
NSDictionary *params = @{@"name":@"chooseAvatar"};
FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel];
[channel invokeMethod:@"extensionApi:chooseAvatar" arguments:params result:^(id _Nullable result) {
!bindChooseAvatar?: bindChooseAvatar(result);
}];
}
@end
@implementation NSString (FATEncode)

View File

@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk.
s.dependency 'Flutter'
s.ios.deployment_target = '9.0'
s.dependency 'FinApplet' , '2.38.0-alpha20220812v07'
s.dependency 'FinAppletExt' , '2.38.0-alpha20220812v07'
s.dependency 'FinApplet' , '2.37.10-alpha20220824v04'
s.dependency 'FinAppletExt' , '2.37.10-alpha20220824v04'
end