From d6c6d1fc101a3fc712c561ff3cc2a8ef843b0dd8 Mon Sep 17 00:00:00 2001 From: wangyong Date: Tue, 14 Mar 2023 16:44:47 +0800 Subject: [PATCH] =?UTF-8?q?X5=20CDN=20=E4=B8=8B=E8=BD=BD=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/build.gradle | 4 ++-- .../src/main/java/com/finogeeks/mop/api/mop/BaseModule.java | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 6e20cfd..a77a22c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -91,6 +91,6 @@ kapt { } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.finogeeks.lib:finapplet:2.40.0-dev20230306v02' - implementation 'com.finogeeks.mop:plugins:2.40.0-dev20230228v02' + implementation 'com.finogeeks.lib:finapplet:2.40.0-dev20230314v01' + implementation 'com.finogeeks.mop:plugins:2.40.0-dev20230309v01' } \ 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 802b8e2..9b823a2 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 @@ -125,7 +125,10 @@ public class BaseModule extends BaseApi { .setDisableRequestPermissions(disablePermission) .setBindAppletWithMainProcess(bindAppletWithMainProcess) .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); if (customWebViewUserAgent != null)