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

Commit 759352d

Browse files
authored
Update README.md
1 parent 1624c1d commit 759352d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ let codePushOptions = { checkFrequency: codePush.CheckFrequency.ON_APP_RESUME };
455455
class MyApp extends Component {
456456
}
457457
458-
MyApp = codePush(CodePushOptions)(MyApp);
458+
MyApp = codePush(codePushOptions)(MyApp);
459459
```
460460

461461
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()`](#codepushsync) at any time with your desired `SyncOptions`, and optionally turn off CodePush's automatic checking by specifying a manual `checkFrequency`:
@@ -480,7 +480,7 @@ class MyApp extends Component {
480480
}
481481
}
482482
483-
MyApp = codePush(CodePushOptions)(MyApp);
483+
MyApp = codePush(codePushOptions)(MyApp);
484484
```
485485
486486
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()`](#codepush) API reference for information on how to tweak this default behavior.

0 commit comments

Comments
 (0)