Skip to the page

EAS Build, Submit and over-the-air updates · mid

EAS Build and Submit: profiles, credentials and environment variables

EAS Build turns your project into signed store or internal binaries on Expo's servers (or locally with --local) using build profiles in eas.json, managed credentials and per-environment variables, and EAS Submit uploads those binaries to Google Play and App Store Connect.

The notes

What you must know

  • eas.json profiles: development (developmentClient: true, distribution "internal"), preview (internal), production (the default when you pass no --profile). Keys: distribution (store | internal), channel, environment (development | preview | production), extends, autoIncrement, android.buildType (app-bundle | apk), ios.simulator.
  • Versions: cli.appVersionSource "local" or "remote"; autoIncrement bumps versionCode / buildNumber. Every store upload needs a new build number.
  • Credentials: EAS can generate and store the Android keystore, iOS distribution certificate, provisioning profile and push key; eas credentials shows and syncs them; credentialsSource "local" uses credentials.json.
  • Environment variables live in EAS environments (development, preview, production) with visibility plain text, sensitive or secret. Secret values are never readable outside Expo's servers, but anything bundled into the app (EXPO_PUBLIC_*) is still public. Local .env files are not sent to cloud builds; eas env:pull brings variables down.
  • eas build --local runs the same steps on your Mac or Linux machine (one platform, no caching, no secret variables). A remote build cache (buildCacheProvider: "eas", keyed by fingerprint) speeds up npx expo run:* builds.
  • EAS Submit: eas submit -p android|ios --latest. Create the app in Play Console first; non-interactive runs need a Google service-account key or an App Store Connect API key. TestFlight builds appear after about 10–15 minutes.

The red pen

Common traps: mistake → fix

  • Mistake: "A secret EAS variable hides my API key inside the app"

    Fix: anything bundled into the app can be extracted.

  • Mistake: "channel on the development profile controls updates"

    Fix: channel has no effect when developmentClient is on.

  • Mistake: "Reuse the build number for a quick fix"

    Fix: stores reject duplicate build numbers.

Easy to hard

Questions interviewers ask, easy to hard

  1. How do your dev, staging and prod builds differ in EAS?
  2. Where do signing keys live, and who can access them?
  3. How do environment variables and secrets work in EAS?
  4. Local builds vs cloud builds: when do you use each?

Practise

Practise with these questions

Explain it out loud

Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.

Practise by voice

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview