From d49e74b854733d222f288b4db0e7b43c55937861 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Apr 2026 20:21:24 +0200 Subject: [PATCH] Restore monotonic Android versionCode for mobile releases (#1348) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Initial plan * fix: bump Android mobile versionCode Agent-Logs-Url: https://github.com/we-promise/sure/sessions/c7b35fa9-a638-489b-803f-a935ccd7a301 Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com> * Versioning YYYMMDD * Remove (new) brittle test --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com> Co-authored-by: Juan José Mata --- mobile/README.md | 2 ++ mobile/pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mobile/README.md b/mobile/README.md index 95f2897fb..b7a843467 100644 --- a/mobile/README.md +++ b/mobile/README.md @@ -172,6 +172,8 @@ flutter build apk --release flutter build appbundle --release ``` +Android release metadata comes from `pubspec.yaml` (`version: +`). Keep the numeric build code increasing for every release so Android can install upgrades over older APKs. + ### iOS ```bash diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index d69aac7fa..b81f489e0 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -1,7 +1,7 @@ name: sure_mobile description: A mobile app for Sure personal finance management publish_to: 'none' -version: 0.6.9+9 +version: 0.6.9+20260402 environment: sdk: '>=3.0.0 <4.0.0'