集成扩展SDK
parent
c2063a04ea
commit
e618d07a3f
|
@ -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'
|
||||||
}
|
}
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue