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

Commit 494a98b

Browse files
author
max-mironov
committed
2 parents 0294871 + ff92f4a commit 494a98b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ We try our best to maintain backwards compatability of our plugin with previous
5858
| v0.31-v0.33 | v1.14.6+ *(RN refactored native hosting code)* |
5959
| v0.34-v0.35 | v1.15.0+ *(RN refactored native hosting code)* |
6060
| v0.36-v0.39 | v1.16.0+ *(RN refactored resume handler)* |
61-
| v0.40-v0.41 | v1.17.0+ *(RN refactored iOS header files)* |
62-
| v0.42+ | TBD :) We work hard to respond to new RN releases, but they do occasionally break us. We will update this chart with each RN release, so that users can check to see what our "official" support is.
61+
| v0.40-v0.42 | v1.17.0+ *(RN refactored iOS header files)* |
62+
| v0.43+ | TBD :) We work hard to respond to new RN releases, but they do occasionally break us. We will update this chart with each RN release, so that users can check to see what our "official" support is.
6363

6464
### Supported Components
6565

@@ -149,7 +149,7 @@ class MyApp extends Component {
149149
MyApp = codePush(codePushOptions)(MyApp);
150150
```
151151

152-
Alternatively, if you want fine-grained control over when the check happens (e.g. a button press or timer interval), you can call [`CodePush.sync()`](docs/api-js#codepushsync) at any time with your desired `SyncOptions`, and optionally turn off CodePush's automatic checking by specifying a manual `checkFrequency`:
152+
Alternatively, if you want fine-grained control over when the check happens (e.g. a button press or timer interval), you can call [`CodePush.sync()`](docs/api-js.md#codepushsync) at any time with your desired `SyncOptions`, and optionally turn off CodePush's automatic checking by specifying a manual `checkFrequency`:
153153
154154
```javascript
155155
let codePushOptions = { checkFrequency: codePush.CheckFrequency.MANUAL };
@@ -174,7 +174,7 @@ class MyApp extends Component {
174174
MyApp = codePush(codePushOptions)(MyApp);
175175
```
176176
177-
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 other way, refer to the [`codePush()`](docs/api-js#codepush) API reference for information on how to tweak this default behavior.
177+
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 other way, refer to the [`codePush()`](docs/api-js.md#codepush) API reference for information on how to tweak this default behavior.
178178
179179
*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 a perhaps simpler/more idiomatic way.*
180180
@@ -256,7 +256,8 @@ To set this up, perform the following steps:
256256
buildTypes {
257257
debug {
258258
...
259-
// CodePush updates should not be tested in Debug mode
259+
// Note: CodePush updates should not be tested in Debug mode as they are overriden by the RN packager. However, because CodePush checks for updates in all modes, we must supply a key.
260+
buildConfigField "String", "CODEPUSH_KEY", '""'
260261
...
261262
}
262263

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: "com.android.library"
22

33
android {
44
compileSdkVersion 23
5-
buildToolsVersion "23.0.3"
5+
buildToolsVersion "23.0.1"
66

77
defaultConfig {
88
minSdkVersion 16

0 commit comments

Comments
 (0)