Skip to the page

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

How OTA updates work, and what they can change

An over-the-air update replaces only the JS bundle and assets that a compatible binary loads: the app checks for an update, downloads it, and runs it on the next launch (or after a reload), so it can fix JS, styles, images and text but never native code, permissions or the SDK version, and it must follow store rules.

The notes

What you must know

  • A build has a native layer (fixed until the next store release) and an update layer (Hermes bytecode bundle + assets) that can be swapped.
  • expo-updates default flow: checkAutomatically "ON_LOAD"; at launch it downloads the manifest and missing assets. fallbackToCacheTimeout defaults to 0, so the app starts with what it already has and a new update runs on the NEXT launch. Order of choice: newest downloaded update, else the embedded one.
  • JS API: useUpdates() (isUpdateAvailable, isUpdatePending, downloadProgress…), checkForUpdateAsync(), fetchUpdateAsync(), reloadAsync() to apply now. These do not work in Expo Go or dev mode.
  • OTA can change: JS, styling, images and other assets, copy. It cannot change: native code or native libraries, permissions (Info.plist, AndroidManifest), the app icon, the SDK or React Native version.
  • An update reaches a build only if the platform and the runtime version match exactly.
  • Store rules: Apple guideline 2.5.2 forbids downloading code that changes features or functionality, and interpreted JS is tolerated when it does not change the app's main purpose; Google Play allows code that runs in a VM or interpreter such as JavaScript. Ship bug fixes and small UI changes OTA; big features, payment and permission flows through review.
  • OTA updates can change the shape of persisted state, so ship data migrations with the JS.
  • App Center CodePush was retired on 31 Mar 2025; EAS Update or a self-hosted server replaced it (see the later lessons).

The red pen

Common traps: mistake → fix

  • Mistake: "OTA can add a camera permission"

    Fix: permissions are native config; they need a store build.

  • Mistake: "OTA is banned on iOS"

    Fix: allowed for JS within the rules; not for changing the app's purpose.

  • Mistake: "The update applies immediately"

    Fix: by default it runs on the next launch, unless you call reloadAsync.

Easy to hard

Questions interviewers ask, easy to hard

  1. Explain how an over-the-air update works in React Native.
  2. What can you ship OTA and what needs a store release?
  3. When is the update applied: immediately or on the next start?
  4. What happens if the update calls a native module the binary does not have?
  5. Is it allowed to push new features via OTA? Where is the line?

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