From b3c7b0e23d5c9baf159b4006c3ab95f454674886 Mon Sep 17 00:00:00 2001 From: hupeng Date: Fri, 21 Jun 2019 15:40:05 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0][=E4=BF=AE=E5=A4=8D]:?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=B9=E5=BC=8F=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App.js b/App.js index e9145c5..864586f 100644 --- a/App.js +++ b/App.js @@ -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) );