diff --git a/example/.flutter-plugins-dependencies b/example/.flutter-plugins-dependencies index ec9321b..64b440d 100644 --- a/example/.flutter-plugins-dependencies +++ b/example/.flutter-plugins-dependencies @@ -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"} \ No newline at end of file +{"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"} \ No newline at end of file diff --git a/example/pubspec.lock b/example/pubspec.lock index 310124c..4d1da1d 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -87,7 +87,7 @@ packages: path: ".." relative: true source: path - version: "2.34.5" + version: "2.34.12" path: dependency: transitive description: diff --git a/ios/Classes/Api/MOPAppletDelegate.m b/ios/Classes/Api/MOPAppletDelegate.m index 4a210d9..7ef475c 100644 --- a/ios/Classes/Api/MOPAppletDelegate.m +++ b/ios/Classes/Api/MOPAppletDelegate.m @@ -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(); diff --git a/ios/mop.podspec b/ios/mop.podspec index c01b846..4c50e34 100644 --- a/ios/mop.podspec +++ b/ios/mop.podspec @@ -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