Skip to content

Add standalone bb dev Android APK build with orange branding - #5002

Merged
ymichael merged 1 commit into
mainfrom
bb/create-standardized-threads-script-to-build-bb-thr_6v4t8ku28v
Oct 6, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/create-standardized-threads-script-to-build-bb-thr_6v4t8ku28v

Conversation

@ymichael

@ymichael ymichael commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Local Android test builds reused the production app identity, so development installs could conflict with regular bb. Threads lacked a single documented command for building and delivering a standalone dev APK. Native and React splash layers also needed matching branding, and translucent splash shading darkened during native image generation.

What changed

  • Add pnpm mobile:apk:dev, backed by the Turbo @bb/mobile#build:android:dev task. It produces apps/mobile/build-output/bb-dev.apk with an embedded Release bundle and debug signing; ARM64 is the default, with -- x86_64 for Intel emulators.
  • Use the name bb dev, package app.getbb.mobile.dev, and orange launcher icon, favicon, and light/dark splash logo. Preserve the existing icon artwork and padding, and encode splash shading in RGB with silhouette transparency. Both native and React splash layers select the dev artwork.
  • Skip production Firebase configuration and HTTPS app-link registration in dev builds. Validate variants and arguments, detect standard macOS SDK/JDK paths, regenerate native files, and reject concurrent builds in one checkout.
  • Document prerequisites, installation, variant configuration, and per-thread artifact delivery in the mobile README, source development docs, CLI guide, and CLI skill.

How you verified

  • pnpm mobile:apk:dev: final ARM64 APK build passed.
  • pnpm exec turbo run typecheck lint --filter=@bb/mobile: passed; lint reports six existing warnings and zero errors.
  • Shell syntax and direct checks verified invalid arguments, concurrent-build rejection, production/dev identity, Firebase isolation, and matching native/React splash configuration.
  • Installed and launched earlier builds on an Android emulator alongside regular bb; captured the orange native-to-React splash handoff. The emulator disconnected before a launch check of the final shading correction.
  • Inspected all 11 final packaged splash assets covering native densities/themes and the React overlay; confirmed the correction removed dark opaque pixels. Checked launcher dimensions, alpha, and white padding against the original assets.
  • git diff --check: passed.

AGENT GENERATED

@ymichael
ymichael merged commit 77faec7 into main Oct 6, 2026
41 checks passed
@ymichael
ymichael deleted the bb/create-standardized-threads-script-to-build-bb-thr_6v4t8ku28v branch October 6, 2026 17:02
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