修复finishRunningApplet接口问题
parent
fb010ab623
commit
2e899edb51
|
@ -72,16 +72,16 @@ public class AppletManageModule extends BaseApi {
|
|||
FinAppClient.INSTANCE.getAppletApiManager().closeApplets();
|
||||
callback.onSuccess(null);
|
||||
} else if (event.equals("finishRunningApplet")) {
|
||||
if (param.containsKey("appId") && param.get("appId") instanceof String) {
|
||||
String appId = (String) param.get("appId");
|
||||
if (param.containsKey("appletId") && param.get("appletId") instanceof String) {
|
||||
String appId = (String) param.get("appletId");
|
||||
FinAppClient.INSTANCE.getAppletApiManager().finishRunningApplet(appId);
|
||||
callback.onSuccess(null);
|
||||
} else {
|
||||
callback.onFail(null);
|
||||
}
|
||||
} else if (event.equals("closeApplet")) {
|
||||
if (param.containsKey("appId") && param.get("appId") instanceof String) {
|
||||
String appId = (String) param.get("appId");
|
||||
if (param.containsKey("appletId") && param.get("appletId") instanceof String) {
|
||||
String appId = (String) param.get("appletId");
|
||||
FinAppClient.INSTANCE.getAppletApiManager().closeApplet(appId);
|
||||
callback.onSuccess(null);
|
||||
} else {
|
||||
|
|
|
@ -34,7 +34,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "com.finogeeks.mop_example"
|
||||
applicationId "com.finogeeks.finclip.demo"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
|
|
|
@ -95,13 +95,6 @@ packages:
|
|||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.12.11"
|
||||
material_color_utilities:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: material_color_utilities
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.1.3"
|
||||
meta:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -115,7 +108,7 @@ packages:
|
|||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "2.36.5"
|
||||
version: "2.36.3"
|
||||
path:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -169,7 +162,7 @@ packages:
|
|||
name: test_api
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.4.8"
|
||||
version: "0.4.3"
|
||||
typed_data:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -88,13 +88,6 @@ packages:
|
|||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.12.11"
|
||||
material_color_utilities:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: material_color_utilities
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.1.3"
|
||||
meta:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -155,7 +148,7 @@ packages:
|
|||
name: test_api
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.4.8"
|
||||
version: "0.4.3"
|
||||
typed_data:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
Loading…
Reference in New Issue