diff --git a/App.js b/App.js index f228c7e..fb4dc35 100644 --- a/App.js +++ b/App.js @@ -117,7 +117,9 @@ export default class MyPage extends Component { codePushUpdate() { CodePush.allowRestart(); CodePush.sync( - { installMode: CodePush.InstallMode.ON_NEXT_RESUME}, + + { mandatoryInstallMode: CodePush.InstallMode.IMMEDIATE, + installMode: CodePush.InstallMode.IMMEDIATE}, this.codePushStatusDidChange.bind(this), this.codePushDownloadDidProgress.bind(this) );