ソースを参照

[测试][升级]:升级方式测试

tags/jenkins-front-end-screenad-179-v28^0
hupeng 5年前
コミット
d07167544b
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      App.js

+ 3
- 1
App.js ファイルの表示

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


読み込み中…
キャンセル
保存