diff --git a/android/build.gradle b/android/build.gradle index 5edfc73..f91a062 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.36.5-fix202220517v01' + implementation 'com.finogeeks.lib:finapplet:2.36.5-fix20220519v01' implementation 'com.finogeeks.mop:plugins:2.36.5' } \ No newline at end of file diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java index a9adf5b..51f192d 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java @@ -301,27 +301,6 @@ public class AppletHandlerModule extends BaseApi { }); callback.onSuccess(null); - handler.postDelayed(new Runnable() { - @Override - public void run() { - mIAppletHandler.getPhoneNumber(new IAppletHandler.IAppletCallback() { - @Override - public void onSuccess(@androidx.annotation.Nullable JSONObject jsonObject) { - - } - - @Override - public void onFailure() { - - } - - @Override - public void onCancel() { - - } - }); - } - }, 20000L); } private void getPhoneNumberResult(String event, Map param, ICallback callback) { diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java index 7ead497..9d3ebad 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java @@ -42,6 +42,7 @@ public class AppletManageModule extends BaseApi { if (appId != null) { FinApplet applet = FinAppClient.INSTANCE.getAppletApiManager().getUsedApplet(appId); if (applet != null) { + //Log.e(TAG, "applet:" + new Gson().toJson(applet)); Map res = new HashMap<>(); res.put("appId", applet.getId()); res.put("name", applet.getName()); @@ -50,9 +51,6 @@ public class AppletManageModule extends BaseApi { res.put("version", applet.getVersion()); res.put("thumbnail", applet.getThumbnail()); Map wechatLoginInfo = new HashMap<>(3); -// wechatLoginInfo.put("wechatOriginId", "1"); -// wechatLoginInfo.put("profileUrl", "2"); -// wechatLoginInfo.put("phoneUrl", "3"); WechatLoginInfo wechatLogin = applet.getWechatLoginInfo(); if (wechatLogin != null) { wechatLoginInfo.put("wechatOriginId", wechatLogin.getWechatOriginId()); diff --git a/pubspec.lock b/pubspec.lock index 6a07e97..29a507d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -68,7 +68,7 @@ packages: name: flutter_plugin_android_lifecycle url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.5" + version: "2.0.6" flutter_test: dependency: "direct dev" description: flutter