X5 CDN 下载配置

master
wangyong 2023-03-14 16:44:47 +08:00
parent cf452cb0f4
commit d6c6d1fc10
2 changed files with 6 additions and 3 deletions

View File

@ -91,6 +91,6 @@ kapt {
} }
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.finogeeks.lib:finapplet:2.40.0-dev20230306v02' implementation 'com.finogeeks.lib:finapplet:2.40.0-dev20230314v01'
implementation 'com.finogeeks.mop:plugins:2.40.0-dev20230228v02' implementation 'com.finogeeks.mop:plugins:2.40.0-dev20230309v01'
} }

View File

@ -125,7 +125,10 @@ public class BaseModule extends BaseApi {
.setDisableRequestPermissions(disablePermission) .setDisableRequestPermissions(disablePermission)
.setBindAppletWithMainProcess(bindAppletWithMainProcess) .setBindAppletWithMainProcess(bindAppletWithMainProcess)
.setLogLevel(XLogLevel.LEVEL_VERBOSE) .setLogLevel(XLogLevel.LEVEL_VERBOSE)
.setXLogDir(new File(getContext().getExternalCacheDir(),"xlog")); .setXLogDir(new File(getContext().getExternalCacheDir(),"xlog"))
.setUseLocalTbsCore(true)
.setTbsCoreUrl("https://www-cdn.finclip.com/sdk/x5/latest/");
// .setPageCountLimit(pageCountLimit); // .setPageCountLimit(pageCountLimit);
if (customWebViewUserAgent != null) if (customWebViewUserAgent != null)