From 54a93d54673715e36e7baed61d8dc207105431c6 Mon Sep 17 00:00:00 2001 From: ChinaLike <572919350@qq.com> Date: Sat, 16 Sep 2023 20:55:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=8C=E6=AD=A5=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E8=AE=BE=E7=BD=AE=E6=96=B9=E5=BC=8F=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=BC=82=E6=AD=A5=E5=9B=9E=E8=B0=83=E6=B3=A8=E5=85=A5?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/test.html | 1 + .../com/like/jsbridge/ConstantJsBridge.kt | 24 +++++++++++++++++++ .../java/com/like/jsbridge/JsBridgeDialog.kt | 3 ++- .../java/com/like/jsbridge/JsBridgeToast.kt | 3 ++- .../java/com/like/jsbridge/MainActivity.java | 1 + .../com/like/jsbridge/MainActivityKotlin.kt | 1 + library/build.gradle | 4 ++-- .../src/main/java/com/core/web/IWebView.kt | 1 - .../java/com/core/web/base/BaseWebView.kt | 9 +++++-- .../com/core/web/base/IJavascriptInterface.kt | 8 +++++++ 10 files changed, 48 insertions(+), 7 deletions(-) create mode 100644 app/src/main/java/com/like/jsbridge/ConstantJsBridge.kt create mode 100644 library/src/main/java/com/core/web/base/IJavascriptInterface.kt diff --git a/app/src/main/assets/test.html b/app/src/main/assets/test.html index bd356f9..d575594 100644 --- a/app/src/main/assets/test.html +++ b/app/src/main/assets/test.html @@ -38,6 +38,7 @@