◉RORK LABJP
●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SDK 58 — Beta since 09/15 with no stable date yet; running projects in Expo Go has required login since 09/03●WIDGET — A write-up traces an iOS widget that renders black only in production builds●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SDK 58 — Beta since 09/15 with no stable date yet; running projects in Expo Go has required login since 09/03●WIDGET — A write-up traces an iOS widget that renders black only in production builds●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…
Articles/Dev Tools
⬡ Dev Tools/2026-05-30Advanced

Growing a Staged OTA Update System Without Breaking It

Shipping an EAS Update to every user at once is dangerous. From channel design to staged rollout to automatic rollback, here is the delivery architecture I settled on across 50M cumulative downloads, with working code.

EAS Update7OTA7Staged Rollout3React Native239Expo219Rollback

✦ Premium Article

The scariest thing about over-the-air (OTA) updates is the default behavior: the moment you press publish, every user's device reaches out for the new bundle. Running a family of apps with 50 million cumulative downloads, the night that chilled me most was exactly this — an "instant, full-fleet" push where a broken JavaScript bundle landed on tens of thousands of devices at once. The upside of OTA is that you can fix an app without going through store review. The flip side is that broken code also spreads instantly, with no review to catch it.

EAS Update (Expo's OTA infrastructure) is excellent, but its default usage is simple: publish to a branch, and devices watching that channel fetch it on their next launch. That is fine while you are small. As your user base grows, "everyone, immediately" becomes the risk itself. In this article I'll show how to turn that instant full-fleet push into a 5% to 25% to 100% staged rollout, and then add automatic rollback so a device that grabbed a broken bundle returns to the previous version on its own — all with code I actually run in production.

Why "channel = environment, branch = content"

EAS Update has two concepts, channel and branch, and getting this design wrong up front guarantees pain later. My mental model is simple: a channel is an "environment label" baked into the build; a branch is the actual code content you deliver. A native binary watches a channel, and a channel can be repointed at any branch. That layer of indirection is the foundation for both staged rollout and rollback.

// eas.json — design production as a delivery lane, not a single fixed channel
{
  "cli": { "version": ">= 12.0.0" },
  "build": {
    "production": {
      "channel": "production",
      "autoIncrement": true
    },
    "production-canary": {
      "extends": "production",
      "channel": "production-canary"
    }
  },
  "submit": { "production": {} }
}

The key move is to bake the production channel into the production build, but at delivery time point production at a versioned branch like production-v1.4.0. With this in place, rolling back is just "repoint the channel at the previous branch," and every device returns to the old bundle on its next launch. You don't re-publish a new bundle to overwrite — you change the pointer. That single difference decides how fast you can respond to an incident.

Implementing 5% to 25% to 100% with rollout

EAS Update offers --rollout-percentage, which controls what share of devices on a channel see a new branch. In my operation, I push a new bundle to 5% first, then raise it in stages while watching crash and adoption rates.

#!/usr/bin/env bash
# scripts/staged-publish.sh — fold staged delivery into one command
set -euo pipefail
 
BRANCH="production-$(date +%Y%m%d-%H%M)"
MESSAGE="${1:?commit message required}"
 
# 1. Publish to a fresh branch (no one sees it yet)
eas update --branch "$BRANCH" --message "$MESSAGE" --non-interactive
 
# 2. Point the production channel at the new branch for only 5% of devices
eas channel:edit production \
  --branch "$BRANCH" \
  --rollout-percentage 5 \
  --non-interactive
 
echo "✅ Shipped $BRANCH to 5%."
echo "   In 24h, run scripts/promote.sh $BRANCH 25"
#!/usr/bin/env bash
# scripts/promote.sh — promote after observing. Percentage as an argument.
set -euo pipefail
BRANCH="${1:?branch required}"
PCT="${2:?percentage required}"
 
eas channel:edit production \
  --branch "$BRANCH" \
  --rollout-percentage "$PCT" \
  --non-interactive
 
echo "✅ Promoted $BRANCH to ${PCT}%."

Two numbers always gate my promotions. First, adoption rate — the share of targeted devices that actually fetched and applied the new bundle. If, 24 hours after shipping, fewer than 70% of the rollout cohort has picked it up, I suspect the delivery path or the bundle size. Second, the crash-rate delta between old and new; if the new bundle's crash rate is more than 20% worse than the old one, I don't promote. At 50M-download scale, even 5% is hundreds of thousands of devices, so a statistically meaningful sample arrives within 24 hours. If your app is small, 5% won't give you enough signal — start the first stage closer to 20%.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦A minimal staged-delivery setup (5% to 25% to 100%) using eas.json plus separated channels/branches, in code you can use as-is
✦How to implement a boot-time health check and rollback that sends a device stuck on a broken bundle back to the previous version on its own
✦Concrete thresholds for adoption and crash rates over the first 24 to 72 hours, and exactly when to promote versus when to roll back
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

⬡ Dev Tools2026-08-09
Measuring Hermes Bytecode Delta Updates: One Added Module Cost 29x More Than One Changed Line
I measured OTA delta sizes against a 2.4MB Hermes bytecode bundle. Changing one line cost 2,104 bytes; adding one module cost 61,197. The widely repeated advice about stable module IDs turned out to matter least.
⬡ Dev Tools2026-09-10
I Added a Dim Screen Button, and iPhones Stayed Dark After the App Was Closed
In expo-brightness, setBrightnessAsync applies only to the current activity on Android, but changes the device brightness itself on iOS. Here is why the cleanup burden falls on one platform only, and a hook that restores brightness through AppState.
⬡ Dev Tools2026-09-04
EAS secret visibility does not keep a value out of your app — deciding prefix and visibility separately
The EXPO_PUBLIC_ prefix decides what ships inside your app; EAS visibility decides who can read it. Why stacking them blanks a value on OTA updates, and how to check your build.