mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-26 15:06:36 +08:00
Update README.md
Add How It Works section to sync with Cordova project
This commit is contained in:
17
README.md
17
README.md
@@ -1,7 +1,22 @@
|
||||
react-native-code-push
|
||||
===
|
||||
|
||||
React Native module for deploying script updates using the CodePush service.
|
||||
This plugin provides integration with the CodePush service, allowing you to easily update your React Native application to enable live app updates.
|
||||
|
||||
Supported platforms
|
||||
---
|
||||
|
||||
- iOS
|
||||
- Coming soon: Android
|
||||
|
||||
How does it work?
|
||||
---
|
||||
|
||||
A React Native application's assets (JavaScript code and other resources) are traditionally bundled up as a ```.jsbundle``` file which is loaded from the application installation location on the target device during runtime. After you submit an update to the store, the user downloads the update, and those assets will be replaced with the new assets.
|
||||
|
||||
CodePush is here to simplify this process by allowing you to instantly update your application's assets without having to submit a new update to the store. We do this by allowing you to upload and manage your React Native app bundles on our CodePush server. In the application, we check for the presence of updated bundles on the server and install and persist them to the internal storage of the device if they are available. If a new bundle is installed, the application will reload from the updated package location.
|
||||
|
||||
For an easy way to get started, please see our [demo application](/Examples/CodePushDemoApp) and our [getting started guide](#getting-started).
|
||||
|
||||
Installation
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user