From 6ff916ba573e0b2b6846fcfbea2db48eed8162fc Mon Sep 17 00:00:00 2001 From: Hadrian Burkhardt Date: Tue, 20 Oct 2026 16:08:11 +0200 Subject: [PATCH] fix: bump the freemium release to versionCode 6 --- AGENTS.md | 6 +++--- CHANGELOG.md | 8 ++++---- app/build.gradle.kts | 2 +- docs/PLAY_RELEASE_CHECKLIST.md | 18 +++++++++--------- docs/ROADMAP.md | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0a61e55..d730816 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,7 +12,7 @@ definition of done for this repository. |---|---| | Product | Foto Dup Finder — offline duplicate/near-duplicate photo finder | | Model | **Freemium**: free tier with one AdMob banner, one-time Pro purchase removes ads | -| Current version | `1.1.1` / `versionCode 5` (`app/build.gradle.kts`) | +| Current version | `1.1.1` / `versionCode 6` (`app/build.gradle.kts`) | | Platform | Android, Kotlin + Jetpack Compose, single `:app` module | | Application id | `de.softwareapp_hb.fotodup.finder.free` (debug `.free.debug`); namespace/code package remains `de.softwareapp_hb.fotodup.finder` | | SDKs | `minSdk 26`, `compileSdk`/`targetSdk` 36 | @@ -297,8 +297,8 @@ Never use `./gradlew --offline` for a fresh dependency check, and never commit 9. **AOSP emulators do not have Play services.** An empty ad slot or a "purchases unavailable" message there is expected; it is not a code failure. 10. **`versionCode` must increase** for every Play upload. `1.0.2` used 3, the - 1.1.0 internal-testing build used 4, and the fixed freemium build is 5. - Update `CHANGELOG.md` and the release checklist too. + 1.1.0 internal-testing build used 4, the first 1.1.1 upload used 5, and the corrected + freemium build is 6. Update `CHANGELOG.md` and the release checklist too. 11. **Do not call `navigationBarsPadding()` twice.** The bottom slot owns the inset; `BottomActionBar` must not add it again. 12. **The old paid-app docs are historical.** Do not copy "pay once", "no ads" or diff --git a/CHANGELOG.md b/CHANGELOG.md index 82aabee..92c518e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ upload needs a **higher `versionCode`** than every previous upload. ## [Unreleased] -## [1.1.1] — 2026-10-20 · versionCode 5 +## [1.1.1] — 2026-10-20 · versionCode 6 ### Fixed @@ -27,9 +27,9 @@ upload needs a **higher `versionCode`** than every previous upload. ### Changed -- **`versionName` 1.1.1 / `versionCode` 5.** The 1.1.0 build (`versionCode` 4) was - already consumed by internal testing and crashed on startup, so it cannot be - reused for a Play upload. +- **`versionName` 1.1.1 / `versionCode` 6.** The 1.1.0 build (`versionCode` 4) crashed + on startup, and the first 1.1.1 build consumed `versionCode` 5 before this corrected + build was uploaded. Play has therefore used codes 4 and 5; this build takes 6. ## [1.1.0] — 2026-10-20 · versionCode 4 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4725c99..20019a5 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -89,7 +89,7 @@ android { applicationId = "de.softwareapp_hb.fotodup.finder.free" minSdk = 26 targetSdk = 36 - versionCode = 5 + versionCode = 6 versionName = "1.1.1" // AdMob reads its application id from the manifest, so it has to be a placeholder: diff --git a/docs/PLAY_RELEASE_CHECKLIST.md b/docs/PLAY_RELEASE_CHECKLIST.md index d44a331..1029edd 100644 --- a/docs/PLAY_RELEASE_CHECKLIST.md +++ b/docs/PLAY_RELEASE_CHECKLIST.md @@ -31,10 +31,10 @@ the rest are things you must do in the Play Console / with your own accounts. ## 2. Versioning - [x] Set `versionName` (user-visible) **[code]** — `1.1.1` in `app/build.gradle.kts`. -- [x] `versionCode` **[code]** — currently **5**. It is the counter Play orders uploads by, and - every later upload must be higher. Codes 1–3 were consumed by 1.0.0–1.0.2, and **4** by - the 1.1.0 internal-testing build (which crashed on startup, see step 3), so the fixed - freemium build takes **5**. +- [x] `versionCode` **[code]** — currently **6**. It is the counter Play orders uploads by, and + every later upload must be higher. Codes 1–3 were consumed by 1.0.0–1.0.2, **4** by + the 1.1.0 internal-testing build (which crashed on startup), and **5** by an earlier + 1.1.1 upload, so the corrected freemium build takes **6**. ## 3. Build the release artefacts @@ -47,16 +47,16 @@ the rest are things you must do in the Play Console / with your own accounts. (2,940,935 bytes, `sha256 534e5ae9…`). The freemium build adds the ads/UMP/Billing dependencies and the AdMob manifest entry, so its size and hash must be re-measured after real AdMob ids are configured. Verify the release APK reports package - `de.softwareapp_hb.fotodup.finder.free`, `versionCode=5 versionName=1.1.1 + `de.softwareapp_hb.fotodup.finder.free`, `versionCode=6 versionName=1.1.1 targetSdk=36` and the permission set in step 5 (including `INTERNET`, `AD_ID` and `BILLING`). The 1.1.0 validation build (`versionCode` 4, test ids) was a 3,655,562-byte APK / 7,680,301-byte AAB, but it **crashed on launch** and must not be reused: R8 removed `androidx.work.impl.WorkDatabase_Impl`'s no-arg constructor, which WorkManager creates reflectively from `androidx.startup.InitializationProvider`. - `app/proguard-rules.pro` now keeps it. The current 1.1.1 build (real AdMob ids - and `legacyPro.cutoffEpochMs=1792504293000`) is a 3,688,330-byte APK - (`sha256 77eaeafa…`) / 7,752,265-byte AAB (`sha256 376439b7…`); `dexdump` + `app/proguard-rules.pro` now keeps it. The current 1.1.1 / versionCode 6 build + (real AdMob ids and `legacyPro.cutoffEpochMs=1792504293000`) is a 3,688,330-byte + APK (`sha256 6043ec92…`) / 7,752,264-byte AAB (`sha256 4766ca49…`); `dexdump` confirms the `WorkDatabase_Impl` public no-arg constructor is present. Rebuild and re-measure if the ids or cutoff change. - [ ] **Launch the minified build before uploading.** Do not rely on @@ -502,7 +502,7 @@ action except the items marked **[code]**. - [ ] Create an **internal testing** track and add yourself as a tester; install via the Play link on a real device. - [ ] **Confirm the first screen appears.** The 1.1.0 upload (`versionCode` 4) installed - but crashed before `Application.onCreate`; versionCode 5 keeps WorkManager's + but crashed before `Application.onCreate`; versionCode 6 keeps WorkManager's `WorkDatabase_Impl` constructor so it gets past `androidx.startup.InitializationProvider`. If a future release crashes the same way, check the R8 keep rule and `app/build/outputs/mapping/release/usage.txt` for diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 2b546cc..4be45f0 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -49,7 +49,7 @@ Legend: ✅ done · 🚧 in progress · ⏳ not started · 💡 candidate (propo 1. ✅ **Done** — the scan-stall hardening and the `BoundedCall` fix shipped as **1.0.1** (`versionCode` 2); **1.0.2** (`versionCode` 3) was the last paid build. The next upload is - **1.1.1** (`versionCode` 5), the fixed freemium build, which also needs the Play Console changes in + **1.1.1** (`versionCode` 6), the fixed freemium build, which also needs the Play Console changes in [MONETIZATION](MONETIZATION.md). Only the on-device re-check of the 5,363-photo scan remains. 2. Finish the Play Console paperwork and roll out through **internal → closed → production**. 3. ✅ **Done** — **M10 store assets**: the icon and feature graphic are generated from the