From dc0de21cfab1b805ca226a735f5c9fd8140826cb Mon Sep 17 00:00:00 2001 From: hupeng Date: Tue, 5 Mar 2019 19:35:15 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=B3=BB=E7=BB=9F][=E4=BF=AE=E6=94=B9]:?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E7=9A=84=E5=AE=9A=E4=B9=89=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 3 +-- android/app/build.gradle | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/App.js b/App.js index 412ec42..717df96 100644 --- a/App.js +++ b/App.js @@ -119,8 +119,7 @@ codePushStatusDidChange(syncStatus) { componentDidMount() { CodePush.allowRestart(); CodePush.sync( - { installMode: CodePush.InstallMode.IMMEDIATE, - dialog:{} }, + { installMode: CodePush.InstallMode.IMMEDIATE}, this.codePushStatusDidChange.bind(this), this.codePushDownloadDidProgress.bind(this) ); diff --git a/android/app/build.gradle b/android/app/build.gradle index a04d81e..304c8e2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -116,7 +116,7 @@ android { android.applicationVariants.all { variant -> variant.outputs.all { - outputFileName = "screenad_" + variant.buildType.name + "_v" + defaultConfig.versionName + ".apk" + outputFileName = "screenad_" + variant.buildType.name + "_" + defaultConfig.versionCode + ".apk" } }