fix: 解决助手菜单getCustomMenus返回数据类型不为NSArray时的处理

master
jizelin 2021-12-30 16:16:02 +08:00
parent 4460930630
commit 5e4ea68b78
4 changed files with 9 additions and 7 deletions

View File

@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mop","path":"/Users/haley/Documents/Finogeeks/Gitlab/finclip-flutter-sdk/","dependencies":[]}],"android":[{"name":"mop","path":"/Users/haley/Documents/Finogeeks/Gitlab/finclip-flutter-sdk/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"mop","dependencies":[]}],"date_created":"2021-12-29 10:07:33.662750","version":"2.3.0-1.0.pre.169"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mop","path":"/Users/beetle/Desktop/finogeeks/gitlab/finosprite/finclip-flutter-sdk/","dependencies":[]}],"android":[{"name":"mop","path":"/Users/beetle/Desktop/finogeeks/gitlab/finosprite/finclip-flutter-sdk/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"mop","dependencies":[]}],"date_created":"2021-12-30 16:09:08.189707","version":"2.2.2"}

View File

@ -87,7 +87,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.34.5"
version: "2.34.12"
path:
dependency: transitive
description:

View File

@ -61,7 +61,9 @@
FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel];
[channel invokeMethod:@"extensionApi:getCustomMenus" arguments:@{@"appId": appletInfo.appId} result:^(id _Nullable result) {
CFRunLoopStop(CFRunLoopGetMain());
list = result;
if ([result isKindOfClass:[NSArray class]]) {
list = result;
}
}];
CFRunLoopRun();

View File

@ -17,10 +17,10 @@ A finclip miniprogram flutter sdk.
s.dependency 'Flutter'
s.ios.deployment_target = '9.0'
s.dependency 'FinApplet' , '2.35.0-alpha20211229v14'
s.dependency 'FinAppletExt' , '2.35.0-alpha20211229v14'
s.dependency 'FinAppletGDMap' , '2.35.0-alpha20211229v14'
s.dependency 'FinAppletWebRTC' , '2.35.0-alpha20211229v14'
s.dependency 'FinApplet' , '2.35.0-alpha20211230v01'
s.dependency 'FinAppletExt' , '2.35.0-alpha20211230v01'
s.dependency 'FinAppletGDMap' , '2.35.0-alpha20211230v01'
s.dependency 'FinAppletWebRTC' , '2.35.0-alpha20211230v01'
end