diff --git a/android/build.gradle b/android/build.gradle index 792ee64..6cac4e7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -91,6 +91,6 @@ kapt { } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.finogeeks.lib:finapplet:2.37.7' - implementation 'com.finogeeks.mop:plugins:2.37.7' + implementation 'com.finogeeks.lib:finapplet:2.37.9' + implementation 'com.finogeeks.mop:plugins:2.37.9' } \ No newline at end of file diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/AppletModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/AppletModule.java index 52d8a0f..d14d97c 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/AppletModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/AppletModule.java @@ -174,11 +174,7 @@ public class AppletModule extends BaseApi { @Override public void onError(int i, String s) { - callback.onFail(new HashMap(){ - { - put("info",s); - } - }); + callback.onFail(s); } @Override diff --git a/pubspec.yaml b/pubspec.yaml index 6390345..dfada9b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: mop description: A Finogeeks MiniProgram Flutter SDK. -version: '2.37.7' +version: '2.37.9' homepage: https://github.com/finogeeks/mop-flutter-sdk environment: