fix: bump the freemium release to versionCode 6

This commit is contained in:
2026-10-20 16:08:11 +02:00
parent 819fc9b905
commit 6ff916ba57
5 changed files with 18 additions and 18 deletions
+9 -9
View File
@@ -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
+1 -1
View File
@@ -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