Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

task(mobile): record Play 53 (1.0.1), prepare 1.0.1+54

tony09667bdbf0d3
diff --git a/mobile/RELEASE.md b/mobile/RELEASE.md
index a77006729..272b15c13 100644
--- a/mobile/RELEASE.md
+++ b/mobile/RELEASE.md
@@ -124,8 +124,8 @@ may lack symbolicated stacks until the matching symbols are supplied.
| `1.0.1 (51)` | 2026-10-01 | TestFlight. First build on the 1.0.1 train — 1.0.0 was approved and its train closed, so ASC refused 1.0.0 (51). Faster launch to the first session; tabs named as on the desktop; Find recaps fold behind a chevron; device key log (#518). First upload from an unsigned archive signed on export (`release-ios.sh`, Xcode account). Built from `feat/mobile-ios-android` |
| `1.0.1 (52)` | 2026-10-01 | TestFlight. The launch terminal opens before the agent list; the desktop app, web and CLI sign in by scanning a QR with the phone (#519). Built from `feat/mobile-ios-android` after merging `main` |
-`pubspec.yaml` is now at `1.0.1+53`, the next build number. Build 52 is already uploaded; do not
-upload it again. Check App Store Connect before uploading if another release has happened meanwhile.
+`pubspec.yaml` is now at `1.0.1+54`, the next build number. Build 52 is the last iOS upload and 53
+went to Play only; do not upload either again. Check App Store Connect before uploading if another release has happened meanwhile.
### Why the app is iPhone-only
@@ -341,3 +341,4 @@ account (Autonomous Inc.) is exempt — check which kind the account is before p
| --- | --- | --- |
| `16` (1.0.0) | 2026-09-18 | Internal testing — the first Play upload |
| `41` (1.0.0) | 2026-09-24 | Built for resubmission after Play rejected the build under the broken-functionality policy (its browser sign-in redirected to `127.0.0.1`, which timed out on the reviewer's device). Signs in with an emailed code instead; also carries the notices and tab marks of iOS 39–40 |
+| `53` (1.0.1) | 2026-10-01 | Internal testing. Same code as iOS 1.0.1 (52): faster launch, QR sign-in for desktop/web/CLI (#519), tab and Find polish. First Play build from the second Mac, with the upload key copied from the first (`storeFile` rewritten to this Mac's path) |
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index 837501eb2..25ebe65f1 100644
--- a/mobile/pubspec.yaml
+++ b/mobile/pubspec.yaml
@@ -2,7 +2,7 @@ name: harness_mobile
description: "Harness viewer for iOS and Android."
publish_to: 'none'
-version: 1.0.1+53
+version: 1.0.1+54
environment:
sdk: ^3.13.0
diff --git a/mobile/scripts/release-android.sh b/mobile/scripts/release-android.sh
index 935758536..9f2406787 100755
--- a/mobile/scripts/release-android.sh
+++ b/mobile/scripts/release-android.sh
@@ -25,6 +25,27 @@ if [[ ! -f "$SIGNING" ]]; then
fi
prop() { sed -n "s/^$1=//p" "$SIGNING" | head -1; }
+# keytool from a real JDK. macOS's /usr/bin/keytool is a stub that fails without a system Java, and
+# a Mac set up for Flutter often has none: Gradle builds with Android Studio's bundled one instead.
+KEYTOOL="keytool"
+for jdk in "${JAVA_HOME:-}" "/Applications/Android Studio.app/Contents/jbr/Contents/Home"; do
+ if [[ -n "$jdk" && -x "$jdk/bin/keytool" ]]; then
+ KEYTOOL="$jdk/bin/keytool"
+ break
+ fi
+done
+
+# Read the upload key's fingerprint BEFORE the build, so a wrong path or password stops here rather
+# than after five minutes of Gradle.
+fingerprint() { sed -n 's/^.*SHA256: *//p' | head -1; }
+EXPECTED="$("$KEYTOOL" -list -v -keystore "$(prop storeFile)" -alias "$(prop keyAlias)" \
+ -storepass "$(prop storePassword)" | fingerprint || true)"
+if [[ -z "$EXPECTED" ]]; then
+ echo "cannot read the upload key: check storeFile, keyAlias and storePassword in $SIGNING" >&2
+ echo "(keytool: $KEYTOOL)" >&2
+ exit 1
+fi
+
VERSION="$(sed -n 's/^version: *//p' pubspec.yaml | head -1)"
echo "==> version ${VERSION%%+*}, versionCode ${VERSION##*+}"
echo " Play must not already hold versionCode ${VERSION##*+}."
@@ -36,10 +57,7 @@ AAB="build/app/outputs/bundle/release/app-release.aab"
[[ -f "$AAB" ]] || { echo "no bundle at $AAB" >&2; exit 1; }
# The fallback to the debug key is silent inside Gradle, so ask the bundle who signed it.
-fingerprint() { sed -n 's/^.*SHA256: *//p' | head -1; }
-SIGNED_BY="$(keytool -printcert -jarfile "$AAB" | fingerprint)"
-EXPECTED="$(keytool -list -v -keystore "$(prop storeFile)" -alias "$(prop keyAlias)" \
- -storepass "$(prop storePassword)" | fingerprint)"
+SIGNED_BY="$("$KEYTOOL" -printcert -jarfile "$AAB" | fingerprint || true)"
if [[ -z "$SIGNED_BY" || "$SIGNED_BY" != "$EXPECTED" ]]; then
echo "!! $AAB is not signed with the upload key (signer: ${SIGNED_BY:-none})." >&2
echo " Play would refuse it. Check $SIGNING." >&2