Over-the-Air Updates

Ship JavaScript and asset fixes without a store release using EAS Update or Shorebird, with runtime versions, channels and safe rollback.

Intermediate · about 3 hours · difficulty 3/5

Learn first: Mobile CI/CD with EAS, Fastlane & Codemagic

Store review and user update habits mean a native release can take days to reach people. Over-the-air (OTA) updates let React Native and Flutter apps download new code bundles at launch, so a typo or logic bug can be fixed in minutes.

How it works

The native binary contains an update client. On launch (or on demand) it checks a server for a newer bundle that is compatible with the installed native code, downloads it, and applies it on the next start or immediately.

Tools

  • EAS Update (expo-updates): publish with eas update --channel production --message "Fix checkout total". Builds are tied to channels, and updates to a runtime version that must match the native layer.
  • Shorebird: code push for Flutter apps.
  • Native Swift and Kotlin apps cannot hot-swap code; they rely on remote config and feature flags instead.

Runtime versions are the key safety rule

An OTA bundle can only change JavaScript (or Dart) and assets. If you add a native module or change native config, you need a new store build with a new runtime version. Using the fingerprint policy lets Expo compute this automatically.

Rolling out safely

  • Publish to a staging channel first and test on a real build.
  • Use percentage rollouts and watch crash reporting.
  • Know how to roll back to the previous update or the embedded bundle.
  • Decide the update strategy: check on launch and apply next time (least disruptive), or force critical fixes.

Store policy

Both stores allow updating interpreted code as long as you do not change the app's primary purpose or bypass review for new features. Keep OTA for fixes and small improvements.

Good enough to move on: you can ship a JS-only fix to a staging channel, verify it, roll it out to production, and explain when a new store build is required instead.

Key concepts

  • How OTA update clients work
  • EAS Update channels and branches: Expo
  • Runtime versions and fingerprints
  • Shorebird for Flutter: Flutter
  • Remote config for native apps
  • Percentage rollouts and rollback
  • Store policy limits

Mini project

Configure EAS Update with staging and production channels, publish a visible change to staging, promote it to production at 10 percent, then roll it back.

Check yourself

You added a new native camera library. Can you ship that feature with an OTA update? Why or why not?

Free resources