Skip to content

fix(android): ship a standalone release APK - #31

Merged
kiranscript merged 2 commits into
mainfrom
fix/standalone-release-apk
Nov 28, 2026
Merged

kiranscript merged 2 commits into
mainfrom
fix/standalone-release-apk

Conversation

@kiranscript

@kiranscript kiranscript commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

The original mobily-0.1.3.apk release asset was a debug build. It opened in the Expo development launcher, needed a running Metro server, and reported version 0.0.1. Scanning the Station QR in the launcher fails with Expected URL scheme 'http' or 'https' but was 'mobily'.

 apk:build
-  generate:terminal-assets
-  gradlew :app:assembleDebug
+  build @mobily/shared
+  prebuild                      # generates terminal assets, recreates android/android
+  gradlew :app:assembleRelease

 apk:install
-  .../apk/debug/app-debug.apk
+  .../apk/release/app-release.apk

 ci.yml Linux jobs
-  runs-on: ubuntu-latest
+  runs-on: ubuntu-24.04

docs/development.md now requires a release APK and explains the QR error in development builds. CHANGELOG.md has an Unreleased entry.

Evidence

Previous v0.1.3 asset Built from this branch
debuggable true not set
assets/index.android.bundle not found present
Expo dev launcher in manifest present not found
versionName 0.0.1 0.1.3
Size 253 MB 125 MB
Signing certificate SHA-256 fac61745…3b9c fac61745…3b9c
  • pnpm --filter mobily-android apk:build succeeds with JDK 17.
  • The new APK replaced the v0.1.3 release asset (sha256:98e178ff…9923), and the maintainer reports that it works.
  • Before: on ubuntu-latest (26.04), ci failed the tmux Session Snapshot test and android-browser could not install Chromium. After: all checks pass on 6d5d63a.

Follow-up: the pin avoids the 26.04 tmux failure without fixing it. There the tmux snapshot reports cursor.blink: false where the bare PTY snapshot reports true.

Merge Danger

Door: two-way. Scripts, docs and CI config.

Blast Radius: Android packaging and Linux CI.

  • apk:build now deletes manual edits in android/android/.
  • The release APK is signed with the Expo template's public debug keystore. A private signing key is a separate decision, and changing keys later requires users to reinstall.
  • Installing over an existing app fails if its signing key differs.

🤖 Generated with Claude Code

apk:build produced a debug APK, which opens the Expo development launcher
and needs a running Metro server. Build the release variant instead, and
run prebuild first so the native version name follows app.json.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mobily-website Ready Ready Preview Nov 28, 2026 3:16am UTC

ubuntu-latest moved to 26.04, where Playwright 1.51 cannot install
Chromium and the tmux Session Snapshot test reports a different cursor
blink.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kiranscript
kiranscript marked this pull request as ready for review November 28, 2026 03:18
@kiranscript
kiranscript merged commit fca25f1 into main Nov 28, 2026
6 checks passed
@kiranscript
kiranscript deleted the fix/standalone-release-apk branch November 28, 2026 03:18

This branch was successfully deployed

1 active deployment
Preview — 6d5d63a3 Deployed Nov 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant