Skip to content

Fix Android signing preflight env names + add direct-APK profile#3

Merged
bigdestiny2 merged 1 commit into
mainfrom
fix/android-signing-preflight-and-apk-profile
Jun 29, 2026
Merged

Fix Android signing preflight env names + add direct-APK profile#3
bigdestiny2 merged 1 commit into
mainfrom
fix/android-signing-preflight-and-apk-profile

Conversation

@bigdestiny2

Copy link
Copy Markdown
Owner

The bug

scripts/release-preflight.js validated PEARBROWSER_ANDROID_KEYSTORE /
PEARBROWSER_ANDROID_STORE_PASSWORD / PEARBROWSER_ANDROID_KEY_ALIAS, but
android/app/build.gradle actually signs the release build from
PEARBROWSER_RELEASE_STORE_FILE / _STORE_PASSWORD / _KEY_ALIAS /
_KEY_PASSWORD. So you could set the preflight-recommended vars, get a green
"Android production signing configured", and still ship a build signed with the
debug key. Reconciled preflight to the names that actually sign.

Changes

  • scripts/release-preflight.js: ANDROID_SIGNING_ENV + keystore-path var +
    remedy text now use the four PEARBROWSER_RELEASE_* names build.gradle reads.
  • test/release-preflight.test.js: fixture uses the reconciled names (3/3 green).
  • eas.json: add a production-apk build profile (direct-download APK) and a
    Play internal submit track.
  • docs/RELEASE_SIGNING.md: exact keytool + build/submit commands for Android
    (direct .apk and Play .aab) and iOS (App Store / TestFlight).

Scoped to these four files only.

🤖 Generated with Claude Code

…ning doc

release-preflight.js checked PEARBROWSER_ANDROID_KEYSTORE/STORE_PASSWORD/KEY_ALIAS,
but android/app/build.gradle actually signs from PEARBROWSER_RELEASE_STORE_FILE/
STORE_PASSWORD/KEY_ALIAS/KEY_PASSWORD — so a "configured" preflight could still
produce a build signed with the debug key. Reconcile preflight to the names that
sign the build.

- scripts/release-preflight.js: ANDROID_SIGNING_ENV + keystore-path var + remedy
  text now use the four PEARBROWSER_RELEASE_* names build.gradle reads.
- test/release-preflight.test.js: fixture uses the reconciled names.
- eas.json: add a production-apk build profile (direct-download APK) and a Play
  internal submit track.
- docs/RELEASE_SIGNING.md: exact keytool + build/submit commands for Android
  (direct .apk and Play .aab) and iOS (App Store / TestFlight).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bigdestiny2
bigdestiny2 merged commit 042a124 into main Jun 29, 2026
1 check passed
@bigdestiny2
bigdestiny2 deleted the fix/android-signing-preflight-and-apk-profile branch June 29, 2026 16:06
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