fix: cut 1.0.2 with versionCode 3, because Play has already used 2
Play Console rejected the 1.0.1 bundle with "Version code 2 has already been used. Try another version code." - the upload consumed code 2, so re-uploading that artifact can never succeed. The next release therefore takes versionCode 3 and versionName 1.0.2, which also gives the pending edge-to-edge fix a version of its own instead of leaving it unreleased. Rebuilt both artefacts from the new configuration and checked them rather than assuming the bump propagated: aapt2 dump badging on the release APK reports versionCode='3' versionName='1.0.2' targetSdk=36, apksigner confirms the upload certificate (AA:8C:3D:6C:...:4C:7A), and the permission set is unchanged - still no INTERNET. The AAB is 2,940,935 bytes (sha256 534e5ae9...), and the unit suite is green: 80 tests, 0 failures, 0 errors. The documents that carried versionCode 2 as the next upload are corrected: the checklist's versioning step now quotes the rejection, its artifact row carries the new size and hash, ROADMAP points at versionCode 3, and the 1.0.1 figures stay as history rather than being overwritten. The first-upload language around pricing is no longer true either, so it is rewritten: code 2 has already been uploaded, which means the Console pricing state has to be checked before this rollout instead of set from scratch. If Products > App pricing still offers "Make your app paid", it has to be done before the app is offered for free, because that switch is one-way. CHANGELOG records the new 1.0.2 section with both the versionCode explanation and the edge-to-edge fix, and the checklist gains a ready-to-paste 1.0.2 "What's new" block.
This commit is contained in:
@@ -28,9 +28,11 @@ the rest are things you must do in the Play Console / with your own accounts.
|
||||
|
||||
## 2. Versioning
|
||||
|
||||
- [x] Set `versionName` (user-visible) **[code]** — `1.0.1` in `app/build.gradle.kts`.
|
||||
- [x] `versionCode` **[code]** — currently **2**. It is the counter Play orders uploads by, so the
|
||||
first upload will be 2 and every later upload must be higher.
|
||||
- [x] Set `versionName` (user-visible) **[code]** — `1.0.2` in `app/build.gradle.kts`.
|
||||
- [x] `versionCode` **[code]** — currently **3**. It is the counter Play orders uploads by, and
|
||||
every later upload must be higher. **2 is already used**: Play rejects re-uploading the 1.0.1
|
||||
bundle with *"Version code 2 has already been used. Try another version code."* — 1 was the
|
||||
1.0.0 build, so 1.0.2 takes **3**.
|
||||
|
||||
## 3. Build the release artefacts
|
||||
|
||||
@@ -39,12 +41,14 @@ the rest are things you must do in the Play Console / with your own accounts.
|
||||
./gradlew :app:assembleRelease # -> APK for local testing
|
||||
```
|
||||
|
||||
- [x] **[code]** verified 2026-10-13: `bundleRelease` and `assembleRelease` both succeed.
|
||||
`app/build/outputs/bundle/release/app-release.aab` is 2,944,100 bytes
|
||||
(`sha256 f8e6a29a0daf60d025409e19be878c3e8f1359a06b3f9fca300bb4aec9ebb726`) and is signed with
|
||||
the upload key. The release APK reports `versionCode=2 versionName=1.0.1 targetSdk=36` and
|
||||
- [x] **[code]** verified 2026-10-18: `bundleRelease` and `assembleRelease` both succeed.
|
||||
`app/build/outputs/bundle/release/app-release.aab` is 2,940,935 bytes
|
||||
(`sha256 534e5ae9c9a62ca13c93dd2da52d8228ec72aed14a1fe830f6e0def17b22e9f5`) and is signed with
|
||||
the upload key. The release APK reports `versionCode=3 versionName=1.0.2 targetSdk=36` and
|
||||
exactly the permission set listed in step 5 — **no `INTERNET`**, so "nothing leaves the
|
||||
device" holds in the shipped artefact, not just in the source manifest.
|
||||
(The 1.0.1 build is the one Play recorded as `versionCode` 2: 2,944,100 bytes,
|
||||
`sha256 f8e6a29a…`.)
|
||||
- [ ] Upload the **`.aab`** (not the APK) to the Play Console.
|
||||
⚠️ **Expect a native-debug-symbols warning here, and ignore it.** Play scans the bundle, finds
|
||||
`base/lib/<abi>/libandroidx.graphics.path.so`, and reports *"This App Bundle contains native
|
||||
@@ -75,12 +79,13 @@ Ready-to-paste copy and the generated graphics live in
|
||||
[docs/STORE_LISTING.md](STORE_LISTING.md) (milestone M10). Everything below is a Console
|
||||
action except the items marked **[code]**.
|
||||
|
||||
- [ ] ⚠️ **App pricing — do this before the first upload; it is the one irreversible decision.**
|
||||
Play, *Set up your app's prices*: *"You can change your app from paid to free. Once your app has
|
||||
- [ ] ⚠️ **Confirm App pricing is set to paid before rolling out — it is the one irreversible
|
||||
decision.** Play, *Set up your app's prices*: *"You can change your app from paid to free. Once your app has
|
||||
been offered for free, the app can't be changed to paid. If you want to charge for the app, you
|
||||
need to create a new app with a new package name and set a price."* This release has not been
|
||||
uploaded yet (`versionCode` 2 is the first), so a paid app is still possible; after the first
|
||||
upload to any track it is not. In the Console:
|
||||
need to create a new app with a new package name and set a price."* **`versionCode` 2 (1.0.1)
|
||||
has already been uploaded and consumed**, so check *Products > App pricing* before this
|
||||
rollout: if it still offers **Make your app paid**, do it now — once the app is offered for
|
||||
free that option is gone for good. In the Console:
|
||||
1. **Set up a payments profile** with your tax rates (Play asks the first time you set a price).
|
||||
2. **Products > App pricing** → *"Your app is"* → **Make your app paid**, and enter the base price
|
||||
**€2.99** (one-time). Leave *"Default price includes tax"* off unless €2.99 is meant to be the
|
||||
@@ -497,9 +502,9 @@ action except the items marked **[code]**.
|
||||
|
||||
## 7. Release notes ("What's new") and rollout
|
||||
|
||||
⚠️ **Which block applies first:** `versionCode` is already **2** (`versionName` 1.0.1), because
|
||||
1.0.1 was cut before anything reached Play — so the *first* upload is 1.0.1 and takes the
|
||||
**initial release** block. The 1.0.1 block below applies only once 1.0.0 exists on a track.
|
||||
⚠️ **Which block applies:** `versionCode` **2** (1.0.1) is already in Play — its upload is what
|
||||
consumed the code — so the next upload is **1.0.2 / `versionCode` 3** and takes the 1.0.2 block
|
||||
below. The initial-release block is kept for the record; it was the 1.0.1 upload.
|
||||
|
||||
|
||||
Release notes are **not stored in this repo** — they are typed into the Play Console
|
||||
@@ -534,6 +539,12 @@ Ready-to-paste block for the first release:
|
||||
• No ads, no account, works fully offline
|
||||
</en-US>
|
||||
|
||||
Ready-to-paste block for **1.0.2** (the `versionCode` 3 build):
|
||||
|
||||
<en-US>
|
||||
• Maintenance release with compatibility fixes
|
||||
</en-US>
|
||||
|
||||
Ready-to-paste block for **1.0.1** (the scan-robustness patch):
|
||||
|
||||
<en-US>
|
||||
|
||||
Reference in New Issue
Block a user