docs: record how the MIUI test phone behaves for installs and the 1.1.2 smoke test

The sideloaded release APK needs a confirmation tap on the phone: without one,
adb reports INSTALL_FAILED_USER_RESTRICTED: Install canceled by user even though
the transfer succeeded, so the install step has to be retried rather than
diagnosed as a signing or manifest problem. Also note that adb shell input, pm
grant and uiautomator dump did work in that session (try them, then fall back to
the debug broadcast hooks), and that API 31 grants READ_EXTERNAL_STORAGE because
READ_MEDIA_IMAGES only exists from API 33.

Release checklist: tick the minified-launch gate with what was verified on the
phone for 1.1.2, and record the smoke test - cold scan, three cancel paths, no
ForegroundServiceDidNotStartInTimeException - plus the one thing that was
deliberately not exercised (deleting real photos).
This commit is contained in:
2026-11-09 00:43:11 +01:00
parent c634a247a3
commit 2081cd1747
2 changed files with 35 additions and 3 deletions
+22 -1
View File
@@ -71,10 +71,18 @@ the rest are things you must do in the Play Console / with your own accounts.
`versionCode=7 versionName=1.1.2 targetSdk=36`; the merged release manifest
contains no AdMob test id. Rebuild and re-measure after any code, id or cutoff
change.
- [ ] **Launch the minified build before uploading.** Do not rely on
- [x] **Launch the minified build before uploading.** Do not rely on
`assembleDebug`/unit tests: they do not run R8. Install the release APK on a
real device (or a temporarily minified debug build side by side) and confirm it
gets past the splash screen to the scanner/UMP consent. See `AGENTS.md` §9.
✅ Done for **1.1.2 / versionCode 7** on 2026-11-09 (Xiaomi M2101K7AG, Android 12 /
API 31): the signed release APK starts past
`androidx.startup.InitializationProvider`, renders the UMP form, scans and cancels
without a crash. Two MIUI details: it asks for a **confirmation tap** on the phone
for a sideloaded APK (otherwise adb reports
`INSTALL_FAILED_USER_RESTRICTED: Install canceled by user` — just rerun it and
confirm), and the **Play-signed copy has to be uninstalled first**, because the
upload key cannot update it.
- [ ] 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
@@ -555,6 +563,19 @@ action except the items marked **[code]**.
still **19 groups / 47 photos / 40.1 MB**. Buy Pro still reports “purchases
unavailable” because this debug build was sideloaded and `pro_no_ads` is not active
on the internal track yet; that is the expected gate, not a crash.
- [x] **1.1.2 foreground-service fix on the real phone** (Xiaomi M2101K7AG, Android 12 /
API 31; minified release APK *and* debug build): cold scan **5,379 photos → 19 groups
/ 47 photos / 40.1 MB in 16.3 s** (signatures 1.6 s · exact 32 ms · similar 14.2 s,
cut fitted to ≤ 10 bits, 5 unreadable); warm debug scans 2.1 s / 1.8 s. **Cancel** was
exercised three ways — the in-app button mid-scan, the notification's CANCEL action,
and a scan that finished inside the old `stopService()` window — and every time the
process kept its pid, `ScanService` stopped **itself**, and logcat had **no**
`ForegroundServiceDidNotStartInTimeException`, `RemoteServiceException` or `FATAL
EXCEPTION`. The banner request reached AdMob and returned **No fill**, which is
expected while the ad-serving review is pending (see the review note in
[MONETIZATION](MONETIZATION.md) § 2, step 6). Not exercised: the delete flow,
because that would remove real photos from the device — tap through it manually
once.
- [ ] Verify no crashes in *Play Console > Quality > Android vitals* after rollout.
## 7. Release notes ("What's new") and rollout