React Native with Expo is one of the friendliest stacks for an AI coding agent. It is TypeScript, so there is a type checker; it runs from the terminal; and the models have read a great deal of React code. This post sets Claude Code up for an Expo app from the first command to a store build.
Start the project
Expo’s docs give one command and recommend its default template:
npx create-expo-app@latest
“We recommend starting with the default project created by create-expo-app.” Open the new folder and run claude. If you are deciding between stacks first, see React Native vs Flutter in 2026.
Choose development builds early
Expo Go lets you “update TypeScript/JavaScript code on your local machine and view the changes in the Expo Go app.” It is fast, but limited to the native code Expo Go includes. Expo describes a development build as “essentially your own version of Expo Go where you are free to use any native libraries,” and says it “is recommended when you want to create your own app and release to app stores.”
Switch early, before an agent adds a native library that Expo Go cannot run:
npx expo install expo-dev-client
npx expo run:ios
npx expo run:android
Write the CLAUDE.md
Run /init for a first draft, then make sure it has:
- Commands: type check (
npx tsc --noEmit), lint, tests, and how to start the app. - Routing: where screens live if you use Expo Router.
- Rules: “use
npx expo installfor packages so versions match the SDK,” “no secrets in app code orapp.json,” “every screen handles loading, empty and error states.” - Hands off: credentials, store submission and the signing setup.
Anthropic’s docs say CLAUDE.md is context, not enforcement, so for hard rules (such as blocking edits to .env files) add a hook. See Claude Code hooks for Flutter; the pattern is the same.
Let it check its own work
The biggest quality gain is making the agent run checks after each change. Tell it in CLAUDE.md: “After every change, run the type checker and tests, and fix failures before moving on.” Add tests for anything with logic: purchase state, form validation, data mapping. A code reviewer subagent that reads each diff catches what tests miss.
Skills worth adding
Skills load only when used, so they suit long checklists:
- Screen standards: accessibility labels, touch target sizes, safe areas, dark mode.
- Payments: in-app purchase with every state: loading, success, cancelled, failed, pending, restore. See mobile app paywall design.
- Store readiness: account deletion, privacy labels, data safety. See the App Store submission checklist and the Google Play launch checklist.
Building for the stores
Expo’s hosted build service “builds app binaries” for Expo and React Native projects and manages signing credentials. Its submit service uploads a build: “A submission is one upload of a build to Google Play Console or App Store Connect.” Expo notes this works from any OS, including Windows and Linux for iOS.
Typical commands:
eas build --platform all
eas submit --platform ios
Let Claude Code prepare the configuration, but run the first build and submission yourself so you see each prompt about credentials. After that, put them in CI.
Ship fixes after launch
Expo lists an update service to “address small bugs and push quick fixes directly to end users” without a new store build. Use it for JavaScript fixes only, and keep store review rules in mind: updates should not change what the app is.
Common agent mistakes in Expo apps
- Installing a package with
npm installand getting a version that does not match the SDK. - Using a library that needs native code while you are still on Expo Go.
- Putting an API key in
app.jsonor in code. Move paid API calls behind your own server. See the mobile app security checklist. - Forgetting Android back button and keyboard behaviour. Test both platforms.
The general setup for every stack is in Claude Code for mobile app development.
Sources read on the day this post was written: Expo: create a project, Expo: development builds, Expo: EAS Build, Expo: EAS Submit, Expo services and Claude Code memory (CLAUDE.md).