chore: update Android target sdk to 35 (#1534)

This commit is contained in:
Huang Xin
2025-07-05 14:49:41 +08:00
committed by GitHub
parent 2b73c5a85a
commit 630025c123
4 changed files with 7 additions and 7 deletions
@@ -15,13 +15,13 @@ val tauriProperties = Properties().apply {
}
android {
compileSdk = 34
compileSdk = 35
namespace = "com.bilingify.readest"
defaultConfig {
manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "com.bilingify.readest"
minSdk = 26
targetSdk = 34
targetSdk = 35
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
}
@@ -5,7 +5,7 @@ plugins {
android {
namespace = "com.readest.native_bridge"
compileSdk = 34
compileSdk = 35
defaultConfig {
minSdk = 21
@@ -5,7 +5,7 @@ plugins {
android {
namespace = "com.readest.native_tts"
compileSdk = 34
compileSdk = 35
defaultConfig {
minSdk = 21
@@ -103,7 +103,7 @@ export const UpdaterContent = ({ version }: { version?: string }) => {
setUpdate({
currentVersion,
version: data.version,
date: data.date,
date: data.pub_date,
body: data.notes,
downloadAndInstall: async (onEvent) => {
await new Promise<void>(async (resolve, reject) => {
@@ -175,7 +175,7 @@ export const UpdaterContent = ({ version }: { version?: string }) => {
.sort(([a], [b]) => semver.rcompare(a, b))
.map(([version, info]) => ({
version,
date: new Date(info.date).toDateString(),
date: new Date(info.date).toLocaleDateString(),
notes: info.notes,
}));
@@ -198,7 +198,7 @@ export const UpdaterContent = ({ version }: { version?: string }) => {
changelogs = [
{
version: update.version,
date: new Date(update.date!).toDateString(),
date: new Date(update.date!).toLocaleDateString(),
notes: parseNumberedList(update.body ?? ''),
},
];