Download: Version 9.0.1Version-9.0.1 ↓9.0.12024-12-19
+0
Daily
9,110
stars
1,583
forks
24
watchers
956
prs
1,855
issues
108
releases

README

Archiving this repository

Visual Studio App Center was retired on March 31, 2025, except for its Analytics and Diagnostics features. You can learn more about the retirement and the Analytics and Diagnostics extension here. CodePush, along with other App Center features, was also retired on March 31, 2025. Consequently, we are archiving this repository.

---



 Sign up With App Center to use CodePush

 React Native Module for CodePush
 [!WARNING]
 React Native CodePush won't support new Architecture. In order to use this plugin on React Native versions starting from 0.76 you will need to opt out from new architecture.

Note: This README is only relevant to the latest version of our plugin. If you are using an older version, please switch to the relevant tag on our GitHub repo to view the docs for that particular version.

!Switching tags

This plugin provides client-side integration for the CodePush service, allowing you to easily add a dynamic update experience to your React Native app(s).



 How does it work?
 Supported React Native Platforms
 Supported Components
 Getting Started
     iOS Setup
     Android Setup
     Windows Setup
 Plugin Usage
     Store Guideline Compliance
 Releasing Updates
 Multi-Deployment Testing
     Android
     iOS
 Dynamic Deployment Assignment
 API Reference
     JavaScript API
     Objective-C API Reference (iOS)
     Java API Reference (Android)
 Debugging / Troubleshooting
 Example Apps / Starters
 Continuous Integration / Delivery
 TypeScript Consumption



 How does it work?

A React Native app is composed of JavaScript files and any accompanying images, which are bundled together by the metro bundler and distributed as part of a platform-specific binary (i.e. an .ipa or .apk file). Once the app is released, updating either the JavaScript code (e.g. making bug fixes, adding new features) or image assets, requires you to recompile and redistribute the entire binary, which of course, includes any review time associated with the store(s) you are publishing to.

The CodePush plugin helps get product improvements in front of your end users instantly, by keeping your JavaScript and images synchronized with updates you release to the CodePush server. This way, your app gets the benefits of an offline mobile experience, as well as the "web-like" agility of side-loading updates as soon as they are available. It's a win-win!

In order to ensure that your end users always have a functioning version of your app, the CodePush plugin maintains a copy of the previous update, so that in the event that you accidentally push an update which includes a crash, it can automatically roll back. This way, you can rest assured that your newfound release agility won't result in users becoming blocked before you have a chance to roll back on the server. It's a win-win-win!

Note: Any product changes which touch native code (e.g. modifying your AppDelegate.m/MainActivity.java file, adding a new plugin) cannot be distributed via CodePu

Top issues

Latest release

Version 9.0.1 v9.0.1 2024-12-19
What's Changed
- Fix null pointer exception by @DordeDimitrijev in https://github.com/microsoft/react-native-code-push/pull/2761
- Replace deprecated method for reloading bundle on iOS by @esbenvb in https://github.com/microsoft/react-native-code-push/pull/2784
- Bump code-push to version 4.2.3 by @DordeDimitrijev in https://github.com/microsoft/react-native-code-push/pull/2788

 New Contributors
- @esbenvb made their first contribution in https://github.com/microsoft/react-native-code-push/pull/2784

Full Changelog: https://github.com/microsoft/react-native-code-push/compare/v9.0.0...

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON