From 4e11a376fd97bf2feb24640e73a3cf30679369cb Mon Sep 17 00:00:00 2001 From: Liang-Ting Date: Thu, 1 Oct 2026 14:30:37 +0800 Subject: [PATCH] release: bump to versionCode 11 (app) / 8 (glass-hud) for the next Play upload Play already serves 1.5.1 as versionCode 10, built before per-model addressing (#10) reached main. A new bundle needs a higher versionCode, so move app to 11 and glass-hud to 8 (versionName stays 1.5.1) and note the supersession plus the #10 changes in the 1.5.1 release notes. Co-Authored-By: Claude Sonnet 5.5 --- app/build.gradle.kts | 2 +- doc/RELEASE_NOTES_v1.5.1.md | 14 +++++++++++--- glass-hud/build.gradle.kts | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f18241e..81c51a9 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -418,7 +418,7 @@ android { // glass-hud so both APKs share one support matrix. minSdk = 28 targetSdk = 36 - versionCode = 10 + versionCode = 11 versionName = "1.5.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" diff --git a/doc/RELEASE_NOTES_v1.5.1.md b/doc/RELEASE_NOTES_v1.5.1.md index 156900e..6eafb48 100644 --- a/doc/RELEASE_NOTES_v1.5.1.md +++ b/doc/RELEASE_NOTES_v1.5.1.md @@ -1,11 +1,18 @@ # v1.5.1 — Play Console fixes, full translations | Play Console 修正、翻譯補齊 -Phone app `com.m365bleapp` versionCode 10, glasses app `com.m365hud.glass` -versionCode 7. Both report versionName 1.5.1. +Phone app `com.m365bleapp` versionCode 11, glasses app `com.m365hud.glass` +versionCode 8. Both report versionName 1.5.1. -手機端 `com.m365bleapp` versionCode 10,眼鏡端 `com.m365hud.glass` versionCode 7, +Play already serves an earlier 1.5.1 build as versionCode 10, which was cut +before the per-model addressing work (#10) landed on `main`. This build +supersedes it, so the versionCode moves up while the versionName stays 1.5.1. + +手機端 `com.m365bleapp` versionCode 11,眼鏡端 `com.m365hud.glass` versionCode 8, versionName 皆為 1.5.1。 +Play 上已有 versionCode 10 的 1.5.1 版本,該版本是在 per-model addressing(#10) +合併進 `main` 之前建置的。本版取代它,因此 versionCode 遞增、versionName 維持 1.5.1。 + --- ## Play Console issues addressed | 已處理的 Play Console 問題 @@ -29,6 +36,7 @@ versionName 皆為 1.5.1。 - Motor lock buttons no longer break in Russian / Ukrainian. | 修正俄文/烏克蘭文的馬達鎖定按鈕版面。 - Demo Ride switch in Settings reflects its state. | 設定中的模擬騎乘開關會正確顯示狀態。 - Refreshed store screenshots for 11 languages and a promo video. | 更新 11 種語言商店截圖與宣傳影片。 +- Scooters are now recognised by the model code in their BLE advertisement, with the advertised name as a fallback; the GATT characteristic lookup scans every discovered service. Covered by unit tests only, not yet verified on a scooter. | 改以藍牙廣播中的型號代碼辨識滑板車(廣播名稱作為備援);GATT 特徵查找會掃描所有已探索的服務。僅有單元測試涵蓋,尚未在實機驗證。 ## Play "What's new" text | Play「最新異動」文字 diff --git a/glass-hud/build.gradle.kts b/glass-hud/build.gradle.kts index 8dd5949..e7e2121 100644 --- a/glass-hud/build.gradle.kts +++ b/glass-hud/build.gradle.kts @@ -31,7 +31,7 @@ android { // Aligned with the phone app so a joint release ships two APKs that // report the same versionName. versionCode must strictly increase for // sideloaded updates to install over an existing build. - versionCode = 7 + versionCode = 8 versionName = "1.5.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"