Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 3705b6c

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 4017fe3 + f5589c0 commit 3705b6c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,9 @@ AppState.addEventListener("change", (newState) => {
383383
newState === "active" && codePush.sync();
384384
});
385385
```
386-
386+
387+
*NOTE: If you are using [Redux](http://redux.js.org) and [Redux Saga](http://yelouafi.github.io/redux-saga/), you can alternatively use the [react-native-code-push-saga](http://github.com/lostintangent/react-native-code-push-saga) module, which allows you to customize when `sync` is called in simpler/more idiomatic way.*
388+
387389
Additionally, if you would like to display an update confirmation dialog (an "active install"), configure when an available update is installed (e.g. force an immediate restart) or customize the update experience in any way, refer to the `sync` method's [API reference](#codepushsync) for information on how to tweak this default behavior.
388390
389391
<a id="apple-note">*NOTE: While [Apple's developer agreement](https://developer.apple.com/programs/ios/information/iOS_Program_Information_4_3_15.pdf) fully allows performing over-the-air updates of JavaScript and assets (which is what enables CodePush!), it is against their policy for an app to display an update prompt. Because of this, we recommend that App Store-distributed apps don't enable the `updateDialog` option when calling `sync`, whereas Google Play and internally distributed apps (e.g. Enterprise, Fabric, HockeyApp) can choose to enable/customize it.*</a>
@@ -898,7 +900,7 @@ Now you'll be able to see CodePush logs in either debug or release mode, on both
898900
899901
## Continuous Integration / Delivery
900902
901-
In addition to using the CodePush CLI to "manually" release updates, we want to help support a continuous delivery solution that allows you and your teams automatically release updates to the CodePush server whenever you push a change to your repo (or whenever your personal needs demands). To help simplify the process of adding a CodePuhs-based CD solition to your existing CI setup, refer to the following OSS products which provide integration with various CI servers:
903+
In addition to being able to use the CodePush CLI to "manually" release updates, we believe that it's important to create a repeatable and sustainable solution for contiously delivering updates to your app. That way, it's simple enough for you and/or your team to create and maintain the rhythm of performing agile deployments. In order to assist with seting up a CodePush-based CD pipeline, refer to the following integrations with various CI servers:
902904
903-
* [Visual Studio Team Services](https://marketplace.visualstudio.com/items?itemName=ms-vsclient.code-push)
905+
* [Visual Studio Team Services](https://marketplace.visualstudio.com/items?itemName=ms-vsclient.code-push) - *NOTE: VSTS also has extensions for publishing to [HockeyApp](https://marketplace.visualstudio.com/items?itemName=ms.hockeyapp) and the [Google Play](https://github.com/Microsoft/google-play-vsts-extension) store, so it provides a pretty great mobile CD solution in general.*
904906
* [Travis CI](https://github.com/mondora/code-push-travis-cli)

0 commit comments

Comments
 (0)