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
- There was no app ID yet, so prebuild used
com.anonymous.rinislaundryand wrote it intoapp.json. Replace it with your own, for examplecom.rinislaundry.app, before the first release: in the stores this ID is the app's identity and can't be changed. package.jsonchanges: the"android"script becomesexpo run:androidand"ios"becomesexpo run:ios, to build and run on your laptop.- The result is 78 files: 54 in
android/(for exampleapp/build.gradle,AndroidManifest.xml,MainActivity.kt, andgradle.propertieswithnewArchEnabled=trueandedgeToEdgeEnabled=true) and 24 inios/(Info.plist,AppDelegate.swift, the Xcode project,Podfile). --no-installskipspod install.
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"/>
- Without
cameraPermission, the plugin writes a default English text:Allow $(PRODUCT_NAME) to access your camera. microphonePermission: falseandrecordAudioAndroid: false: this app doesn't record sound, so the microphone permission isn't requested.npx expo install expo-secure-storeeven adds"expo-secure-store"topluginsby itself.
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:
- You use a library with native code that isn't in Expo Go, for example
react-native-mmkv. - You change configuration that lands in native files: the name, the icon,
scheme, permission texts. In Expo Go you see Expo Go's own. - Push notifications on Android: not available in Expo Go since SDK 53.
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": {}
}
}
- EAS Build produces the app file on Expo's servers, including iOS builds without a Mac.
- EAS Submit uploads the build to App Store Connect and Google Play (the publishing lesson).
- EAS Update sends JavaScript, style and image changes without a new build:
eas update --channel production --message "Fix the status text". Native code still needs a new build. - The Free plan as of 11 October 2026: 15 Android builds and 15 iOS builds per month (low-priority queue, a 45-minute limit per build), and EAS Update for 1,000 monthly active users. Paid plans start at 19 dollars a month.
⚠️ Changes that vanish or never ship
- Editing
ios/orandroid/by hand in a CNG project. Gone at the nextprebuild, which regenerates the folders. Put it inapp.jsonor a config plugin. - Forgetting to rebuild the development build. A new native library or a change in
pluginsdoesn't travel through Fast Refresh. Make a new development build. - Keeping
com.anonymous.rinislaundry. Change the app ID before the first release. - Expecting EAS Update to ship a new native library. An update only carries JavaScript and assets.
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.