|
|
@@ -117,7 +117,7 @@ export default class MyPage extends Component { |
|
|
|
codePushUpdate() { |
|
|
|
CodePush.allowRestart(); |
|
|
|
CodePush.sync( |
|
|
|
{ installMode: CodePush.InstallMode.IMMEDIATE}, |
|
|
|
{ installMode: CodePush.InstallMode.ON_NEXT_RESTART}, |
|
|
|
this.codePushStatusDidChange.bind(this), |
|
|
|
this.codePushDownloadDidProgress.bind(this) |
|
|
|
); |
|
|
|