Expo & the Managed Workflow — Mobile

Managed now means CNG: the ios/ and android/ folders are generated from app.json by npx expo prebuild (78 files in this project) and not kept in git; expo…

The ios/ and android/ folders of Mrs. Rini's Laundry project aren't kept in git, and that's on purpose. In Expo's managed workflow you write JavaScript/TypeScript code plus one configuration file, app.json, and Expo builds the native iOS and Android projects from it whenever they're needed. It's like Mrs. Rini ordering staff uniforms from a garment maker. She only fills in a form: sizes, colour, logo. The garment maker cuts the cloth and sews. To change the colour, Mrs. Rini doesn't unpick the seams, she just edits the form and orders again. app.json is the form, npx expo prebuild is the garment maker, and the ios/ and android/ folders are the finished uniforms.

Managed now means CNG

There used to be two camps: managed (no native folders at all) and bare (the ios/ and android/ folders kept in git and edited by hand). Moving from managed to bare was called ejecting. Today Expo uses Continuous Native Generation (CNG): the native folders are regenerated from app.json whenever needed, and they're not kept in git. The template already puts /ios and /android in .gitignore. The old command is gone too:

$ npx expo eject
  $ expo eject is not supported in the local CLI, please use npx expo prebuild instead

Bare is still allowed: you keep and edit the native folders yourself. The consequence is that prebuild can no longer regenerate them without overwriting your changes.

npx expo prebuild

Run on Mrs. Rini's Laundry project (Expo SDK 57), 11 October 2026:

$ npx expo prebuild --no-install
› Android package name: com.anonymous.rinislaundry
› Apple bundle identifier: com.anonymous.rinislaundry
✔ Created native directories
✔ Updated package.json
✔ Finished prebuild

Run again while the native folders exist, prebuild on Expo SDK 57 deletes them first and starts from scratch:

$ npx expo prebuild --no-install
✔ Cleared android, ios code
✔ Created native directories
✔ Updated package.json | no changes
✔ Finished prebuild

So the --clean from older tutorials is now the default. --no-clean applies the changes to the existing folders without deleting them.

Config plugins: changing native code through app.json

A config plugin is a function that writes into the native files during prebuild. Many Expo libraries ship one. For the camera permission:

{
  "expo": {
    "name": "Mrs. Rini's Laundry",
    "scheme": "rinislaundry",
    "ios": { "bundleIdentifier": "com.rinislaundry.app" },
    "android": { "package": "com.rinislaundry.app" },
    "plugins": [
      "expo-router",
      ["expo-camera", {
        "cameraPermission": "Allow Mrs. Rini's Laundry to photograph your laundry receipts.",
        "microphonePermission": false,
        "recordAudioAndroid": false
      }]
    ]
  }
}

After npx expo prebuild:

ios/RinisLaundry/Info.plist
    <key>NSCameraUsageDescription</key>
    <string>Allow Mrs. Rini's Laundry to photograph your laundry receipts.</string>

android/app/src/main/AndroidManifest.xml
  <uses-permission android:name="android.permission.CAMERA"/>

Now say you open ios/RinisLaundry/Info.plist produced by prebuild and add the camera permission text by hand, and tomorrow a teammate runs npx expo prebuild again. Guess: is your text still there?

The text you typed straight into Info.plist is gone at the next prebuild, because the folder is deleted and regenerated from app.json. Every native change goes into app.json or a config plugin. If you need native code of your own that no library supports, write your own config plugin or Expo Module. Going bare is the last resort.

app.config.ts: computed configuration

app.json is fixed. When values must be computed, add app.config.ts, which receives the contents of app.json as config:

// app.config.ts
import type { ConfigContext, ExpoConfig } from 'expo/config';

const DEV = process.env.APP_VARIANT === 'development';

export default ({ config }: ConfigContext): ExpoConfig => ({
  ...config,
  name: DEV ? 'Mrs. Rini (Dev)' : "Mrs. Rini's Laundry",
  slug: 'rinis-laundry',
  ios: { ...config.ios, bundleIdentifier: DEV ? 'com.rinislaundry.app.dev' : 'com.rinislaundry.app' },
  android: { ...config.android, package: DEV ? 'com.rinislaundry.app.dev' : 'com.rinislaundry.app' },
});

APP_VARIANT=development npx expo config --type public prints name: 'Mrs. Rini (Dev)' and bundleIdentifier: 'com.rinislaundry.app.dev'. Without the variable: "Mrs. Rini's Laundry" and 'com.rinislaundry.app'. Different IDs let the development build and the real app be installed side by side on one phone.

Expo Go or a development build

Expo Go is enough for learning (the setup lesson). A development build is required when:

How: npx expo install expo-dev-client, then npx expo run:android (needs Android Studio on your laptop) or eas build --profile development --platform android (on Expo's servers). Once it's installed, keep using npx expo start as usual. Rebuild only when the native part changes: a new native library, or a change in plugins.

EAS: Build, Submit, Update

EAS (Expo Application Services) is Expo's cloud service, used through eas-cli (version 24.12.1 on npm, October 2026). Its profiles live in eas.json:

{
  "build": {
    "development": { "developmentClient": true, "distribution": "internal" },
    "preview": { "distribution": "internal" },
    "production": {}
  }
}

⚠️ Changes that vanish or never ship

TL;DR: Managed now means CNG: the ios/ and android/ folders are generated from app.json by npx expo prebuild (78 files in this project) and not kept in git; expo eject has been replaced by prebuild. Native changes go through config plugins in plugins (for example expo-camera with cameraPermission writes NSCameraUsageDescription and the CAMERA permission), not hand edits, because prebuild on SDK 57 deletes and regenerates the folders (unless you pass --no-clean). app.config.ts is for computed values, such as a .dev ID. A development build is required for native libraries outside Expo Go, native configuration changes, and push on Android. EAS Build makes the app in the cloud (iOS without a Mac), EAS Submit uploads to the stores, EAS Update sends JavaScript without a new build. Expo's advantages: easy setup, OTA updates, many native APIs without manual configuration. Leave managed only when you need a custom native module that a config plugin or Expo Module can't handle.

⚡ Native folders, made again

Write:

npx expo prebuild --no-install

Meaning: In today's managed workflow (CNG), the ios/ and android/ folders are generated from app.json whenever they're needed, and they're not kept in git. expo eject has been replaced by prebuild, and on SDK 57 prebuild deletes the folders first, then makes them again.

⚡ Change native through app.json

Write:

["expo-camera", {
  "cameraPermission": "Allow Mrs. Rini's Laundry to photograph your laundry receipts."
}]
Guess first: you add the camera permission text straight into Info.plist, and tomorrow a teammate runs npx expo prebuild again. Is your text still there?

Gone. The folder is deleted and regenerated from app.json. The expo-camera config plugin above is what writes that text into NSCameraUsageDescription on every prebuild.

Meaning: Every native change goes into app.json or a config plugin, not hand edits.

⚡ Why Expo

Meaning: Easy setup, OTA updates through EAS Update (new JavaScript without a new build), and many native APIs without manual configuration. A development build is only required when you need a native library that isn't in Expo Go.

What you will learn