From e618d07a3fb4ceb9e7a16572ba4b3e5c16a920c5 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Mon, 30 Nov 2020 17:55:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90=E6=89=A9=E5=B1=95SDK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/build.gradle | 1 + android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 91a19db..849189d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -92,4 +92,5 @@ kapt { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.finogeeks.lib:finapplet:2.12.37' + implementation 'com.finogeeks.mop:plugins:0.0.23' } \ No newline at end of file diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java index 385e89b..754f78f 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java @@ -9,6 +9,7 @@ import com.finogeeks.lib.applet.client.FinAppConfig; import com.finogeeks.lib.applet.interfaces.FinCallback; import com.finogeeks.mop.api.BaseApi; import com.finogeeks.mop.interfaces.ICallback; +import com.finogeeks.mop.plugins.client.FinPluginClient; import com.finogeeks.mop.service.MopPluginService; import java.util.HashMap; @@ -74,6 +75,7 @@ public class BaseModule extends BaseApi { @Override public void onSuccess(Object result) { // SDK初始化成功 + FinPluginClient.pluginManager.registerPlugins(application); callback.onSuccess(null); }