Mobile: standalone signed release APK build (config plugin + script)
CI / policy (push) Successful in 5s
CI / profile (push) Successful in 11s
CI / mobile (push) Successful in 16s
CI / backend (push) Failing after 1m7s

- plugins/withReleaseSigning.js — Expo config plugin that injects a release
  signingConfig into android/app/build.gradle at prebuild, reading credentials
  from credentials/keystore.properties (gitignored). Survives CNG regeneration.
- scripts/build-release-apk.sh — generate keystore (once) → prebuild → build →
  install → emit a shareable cardclaws-demo.apk
- .gitignore: exclude /credentials, *.keystore, *.apk (no secrets/binaries)

Produces a standalone APK with the JS bundle embedded — runs with no Metro, no
laptop, no Wi-Fi. Built, signed, installed, and verified running on a physical
device with Metro stopped + the USB route removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
Omar Sobh
2026-06-04 18:11:36 -05:00
co-authored by Claude Opus 4.8
parent bc6f158f43
commit eddca62f23
4 changed files with 90 additions and 0 deletions
+5
View File
@@ -7,6 +7,11 @@ node_modules/
/android
/ios
# Signing secrets + build artifacts — NEVER commit
/credentials
*.keystore
*.apk
# Misc
*.log
.DS_Store