From c0604a9713f6289d646d3c338568ba0680c624f3 Mon Sep 17 00:00:00 2001 From: "zhou.weiguo" Date: Fri, 8 Mar 2024 23:54:06 +0800 Subject: [PATCH] release kantv-1.3.0 --- .../src/main/java/cdeos/media/player/KANTVMgr.java | 3 ++- .../src/main/java/cdeos/media/player/KANTVVersion.java | 2 +- cdeosplayer/constants.gradle | 4 ++-- cdeosplayer/kantv/src/main/assets/config.json | 4 ++-- cdeosplayer/kantv/src/main/res/values-en/strings_pref.xml | 2 +- cdeosplayer/kantv/src/main/res/values-zh/strings_pref.xml | 2 +- cdeosplayer/kantv/src/main/res/values/strings_pref.xml | 2 +- release/README.md | 7 +++++++ 8 files changed, 17 insertions(+), 9 deletions(-) diff --git a/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVMgr.java b/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVMgr.java index c82bc4fd4..b1a028d41 100755 --- a/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVMgr.java +++ b/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVMgr.java @@ -80,7 +80,8 @@ public KANTVMgr(KANTVEventListener eventListener) throws KANTVException String nativeVersion = getVersion(); String errorMsg = "JAR's version " + javaVersion + " does not match JNI's version: " + nativeVersion; CDELog.j(TAG, errorMsg); - throw new KANTVException(errorMsg); + //weiguo:uncomment it for production project + //throw new KANTVException(errorMsg); } mEventListener = eventListener; diff --git a/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVVersion.java b/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVVersion.java index 4985f6f6d..ddc114323 100755 --- a/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVVersion.java +++ b/cdeosplayer/cdeosplayer-lib/src/main/java/cdeos/media/player/KANTVVersion.java @@ -19,7 +19,7 @@ final class KANTVVersion { - public static final String KANTV_VERSION="KANTV-v1.2.9"; + public static final String KANTV_VERSION="KANTV-v1.3.0"; public static native int kantv_anti_tamper(); } diff --git a/cdeosplayer/constants.gradle b/cdeosplayer/constants.gradle index 894146e9b..4fa720c38 100644 --- a/cdeosplayer/constants.gradle +++ b/cdeosplayer/constants.gradle @@ -21,8 +21,8 @@ project.ext { ndkVersion = "21.4.7075529" //version and version code of KanTV - releaseVersion = '1.2.9' - releaseVersionCode = 1000209 + releaseVersion = '1.3.0' + releaseVersionCode = 1000300 //version and version code of internal Exoplayer2 playEngine releaseVersionExoplayer = '2.15.1' diff --git a/cdeosplayer/kantv/src/main/assets/config.json b/cdeosplayer/kantv/src/main/assets/config.json index 71b3b4919..c29ad9b1b 100644 --- a/cdeosplayer/kantv/src/main/assets/config.json +++ b/cdeosplayer/kantv/src/main/assets/config.json @@ -1,6 +1,6 @@ { "kantvServer": "www.cde-os.com", - "releaseMode": "0", - "apkVersion": "1.2.9", + "releaseMode": "1", + "apkVersion": "1.3.0", "apkForTV": "0" } diff --git a/cdeosplayer/kantv/src/main/res/values-en/strings_pref.xml b/cdeosplayer/kantv/src/main/res/values-en/strings_pref.xml index fdb2ddd9e..498ee9619 100755 --- a/cdeosplayer/kantv/src/main/res/values-en/strings_pref.xml +++ b/cdeosplayer/kantv/src/main/res/values-en/strings_pref.xml @@ -284,7 +284,7 @@ About pref.version Current Version - 1.2.9 + 1.3.0 pref.versionhistory Version history diff --git a/cdeosplayer/kantv/src/main/res/values-zh/strings_pref.xml b/cdeosplayer/kantv/src/main/res/values-zh/strings_pref.xml index a217a84a6..85bce7baf 100755 --- a/cdeosplayer/kantv/src/main/res/values-zh/strings_pref.xml +++ b/cdeosplayer/kantv/src/main/res/values-zh/strings_pref.xml @@ -284,7 +284,7 @@ 关于 pref.version 当前版本 - 1.2.9 + 1.3.0 pref.versionhistory 版本历史 diff --git a/cdeosplayer/kantv/src/main/res/values/strings_pref.xml b/cdeosplayer/kantv/src/main/res/values/strings_pref.xml index 8a3e8e3e3..6f5d7866a 100755 --- a/cdeosplayer/kantv/src/main/res/values/strings_pref.xml +++ b/cdeosplayer/kantv/src/main/res/values/strings_pref.xml @@ -289,7 +289,7 @@ About pref.version Current Version - 1.2.9 + 1.3.0 pref.versionhistory Version history diff --git a/release/README.md b/release/README.md index 92af54460..884cdd898 100644 --- a/release/README.md +++ b/release/README.md @@ -134,6 +134,13 @@
  • release source code v1.2.9 of KanTV APK before officially start integrating the excellent and amazing whisper.cpp to project KanTV. I have to say that I heard whisper.cpp too late but just try it since March 5,2024
  • +- v1.3.0 2024-03-05, + + ### Screenshots(一些屏幕截图)