CodePush Overview
CodeOnAir CodePush ships JavaScript and asset updates to React Native apps over the air — no store review — with rollouts, mandatory updates and rollbacks.
CodePush replaces your app's JavaScript bundle and images over the air. Fix a bug or change a screen, run one command, and users get it on their next launch — no App Store or Play Store review, no waiting for people to update.
Your first over-the-air update in about ten minutes.
Add the SDK to Android and iOS, then sync on launch.
Release, roll back and inspect updates from your terminal.
Targets, mandatory, rollouts and rollbacks — with examples.
How an update reaches a device#
Deployments and versions#
Each app has two deployments: Android and iOS, each with its own key. Every release targets binary versions — an exact version like 1.2.0, a range like 1.2.x, or * — so a device only gets bundles built for the native code it has. Releases are labelled v1, v2, v3 … per deployment.
Safe by default#
- Every download is checked against its SHA-256 before it's installed; a corrupted or tampered bundle is refused.
- If an update crashes before the app calls
notifyAppReady(CodePush.sync()does it for you), the next launch goes back to the previous bundle, reports the failure, and never offers that update to the device again. - A new binary from the store always starts on its own bundle — older updates are cleared.
- Roll back, disable a release, make it mandatory, or roll it out to a percentage of devices at any time.
What counts on your plan#
CodePush is counted in update downloads per month. Checking for updates is free. Above your plan's allowance, devices keep the bundle they have and get new ones next month — apps never break.