Skip to content
CodeOnAir
← All posts

App Center is retired: how to keep shipping React Native updates with CodePush

Microsoft retired Visual Studio App Center, and its CodePush service with it. Here is how to keep sending over-the-air updates to your React Native app without changing how your team works.

CodeOnAir teamUpdated 4 min read

App Center's hosted CodePush service shut down with App Center on 31 March 2025, so apps still on App Center deployment keys get no new over-the-air updates. To keep shipping them, run a CodePush-compatible server yourself or move to a hosted service. Then ship one store build with the new SDK and keys, and JavaScript updates go out over the air again.

Microsoft retired Visual Studio App Center on 31 March 2025, and the hosted CodePush service went with it. For many React Native teams, CodePush was the way to fix a bug or change copy without waiting days for store review.

You have two options: run a CodePush server yourself, or move to a hosted service. This post covers what to check either way, and how the move looks with CodeOnAir CodePush.

What you need to keep

  • Over-the-air JS bundle updates for Android and iOS, per binary version.
  • Mandatory vs optional updates, and when they install (right away, on next restart, on resume).
  • Staged rollouts — send an update to 10% of users before everyone.
  • Automatic rollback — if an update crashes before the app reports it's healthy, the next launch goes back to the previous bundle.
  • A CLI for CI, so releases come from your pipeline, not someone's laptop.

Self-hosting vs hosted

Running your own server gives you full control, but you own storage, a CDN for bundle downloads, uptime, security updates and the release dashboard. For most teams the update service isn't the product — a hosted one is less work. We compare EAS Update, self-hosted servers and hosted services in all the CodePush alternatives compared.

Moving to CodeOnAir CodePush

This is the short version. The step-by-step migration guide covers every native file, CI and staging builds.

1. Install the SDK

Install @codeonair/code-push-react-native from npm:

npm install @codeonair/code-push-react-native

Point your app at the CodePush bundle in MainApplication (Android) and AppDelegate (iOS) — the dashboard shows the exact lines.

2. Sync on every launch

import CodePush from "@codeonair/code-push-react-native";

useEffect(() => {
  CodePush.sync({
    installMode: CodePush.InstallMode.ON_NEXT_RESTART,
    mandatoryInstallMode: CodePush.InstallMode.IMMEDIATE,
  });
}, []);

sync() confirms the running update (so it isn't rolled back) and checks for a new one.

3. Release from the CLI or CI

The CLI is on npm as @codeonair/code-push-cli:

npm install -g @codeonair/code-push-cli@beta
codeonair-codepush release-react shop-android -t 1.0.0 -d "Fix checkout"

Add --mandatory for updates every user must get.

Rules that still apply

Over-the-air updates can change your JavaScript and assets, not native code. Anything that touches native modules, permissions or the app binary still goes through the store. Both Apple and Google allow interpreted-code updates that don't change the app's main purpose. And install modes still decide when an update runs: see CodePush install modes: IMMEDIATE or ON_NEXT_RESTART.

React Native 0.76+ and the New Architecture

Microsoft's archived SDK needs the New Architecture turned off, according to its README, and React Native 0.82 ignores the flags that turn it off. If you're upgrading React Native as well, switch CodePush SDKs in the same store build. react-native-code-push and the New Architecture sets out the options version by version. The CodeOnAir SDK works with the Old and New Architecture (including bridgeless) and Hermes, on React Native 0.70 and later. The CodePush quick start takes you from setup to your first release, and project setup has the Android and iOS changes.

Roll out and roll back from the CLI

# send a release to 20% of devices first
codeonair-codepush release-react shop-ios -t 1.0.0 -r 20

# installs look healthy: send it to everyone
codeonair-codepush patch shop-ios -r 100

# a bad release: go back to the previous one
codeonair-codepush rollback shop-ios

codeonair-codepush history shop-ios lists releases with their installs and failures. In CI, set CODEONAIR_ACCESS_KEY instead of logging in.

FAQ

Does App Center CodePush still work?

No. App Center was retired on 31 March 2025, and its CodePush service with it. Apps that still have react-native-code-push with App Center keys keep the bundle they have, but can't get new updates.

Do my users have to update the app from the store?

Yes, once. The new SDK is native code, so it ships in a store build. After that, JavaScript updates go over the air again.

Can I keep my Staging and Production deployments?

CodeOnAir has one deployment per platform per app (<app>-android and <app>-ios). For a staging build, create a second app and put its keys in your internal build, or release to production with a small rollout first.

How is it priced?

By update downloads per month: 5,000 on Free, 25,000 on Starter, 500,000 on Growth and 2,000,000 on Scale. Past the allowance, apps keep the bundle they have until next month. See pricing.

Move your CodePush in a day: create a free account — the Free plan includes 5,000 CodePush downloads a month, and every new workspace gets 30 days of Growth. Moving a large app? Talk to us.

Your first AppLink in five minutes.

Create an app, pick a subdomain, and share a link that opens your app. Try Growth free for 30 days — no card needed.