集成扩展SDK

master
xiaoyu 2020-11-30 17:55:30 +08:00
parent c2063a04ea
commit e618d07a3f
2 changed files with 3 additions and 0 deletions

View File

@ -92,4 +92,5 @@ kapt {
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.finogeeks.lib:finapplet:2.12.37' implementation 'com.finogeeks.lib:finapplet:2.12.37'
implementation 'com.finogeeks.mop:plugins:0.0.23'
} }

View File

@ -9,6 +9,7 @@ import com.finogeeks.lib.applet.client.FinAppConfig;
import com.finogeeks.lib.applet.interfaces.FinCallback; import com.finogeeks.lib.applet.interfaces.FinCallback;
import com.finogeeks.mop.api.BaseApi; import com.finogeeks.mop.api.BaseApi;
import com.finogeeks.mop.interfaces.ICallback; import com.finogeeks.mop.interfaces.ICallback;
import com.finogeeks.mop.plugins.client.FinPluginClient;
import com.finogeeks.mop.service.MopPluginService; import com.finogeeks.mop.service.MopPluginService;
import java.util.HashMap; import java.util.HashMap;
@ -74,6 +75,7 @@ public class BaseModule extends BaseApi {
@Override @Override
public void onSuccess(Object result) { public void onSuccess(Object result) {
// SDK // SDK
FinPluginClient.pluginManager.registerPlugins(application);
callback.onSuccess(null); callback.onSuccess(null);
} }