local-build
Local Build Workflow (APK and .app)
Overview
Generate two shell scripts that build release artifacts for an Expo / React Native project using the platform toolchains directly:
scripts/build-android.sh→ runs./gradlew assembleReleaseand copies the APK intobuilds/scripts/build-ios.sh→ runsxcodebuildfor the iOS Simulator and copies the.appintobuilds/
Both scripts replace the previous artifact on each run, so the output path is always predictable.
Why this exists: Debug builds on an Expo project include expo-dev-client and launch the "Development Servers" picker instead of the app UI. For e2e runs, teammate previews, or real device installs, you need a Release build, and that's what these scripts produce.
Step 0: Confirm the project is a React Native / Expo app
Before doing anything else, verify the current directory is an Expo/React Native project:
- Check for
package.jsonwithexpoindependencies. - Check for
app.jsonorapp.config.ts/app.config.js.
More from code-with-beto/skills
app-icon
Generate app icons for your React Native Expo app with iOS 26 support
741ship
Scaffold production-ready React Native apps using the @codewithbeto/ship CLI. Use when the user wants to create a new app from a Code with Beto template, scaffold a project with Platano, or run `bunx @codewithbeto/ship`. Always use flag-based (non-interactive) mode — the interactive TUI requires a terminal.
49