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); }