From 9cfbac6d6fb42cd6e5f94f40a1f067e151e352e9 Mon Sep 17 00:00:00 2001 From: Geoffrey Goh Date: Tue, 28 Jun 2016 17:03:53 -0700 Subject: [PATCH] update installed message in demo app --- Examples/CodePushDemoApp/android/app/build.gradle | 5 ++--- Examples/CodePushDemoApp/crossplatformdemo.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Examples/CodePushDemoApp/android/app/build.gradle b/Examples/CodePushDemoApp/android/app/build.gradle index 19f6777..6170451 100644 --- a/Examples/CodePushDemoApp/android/app/build.gradle +++ b/Examples/CodePushDemoApp/android/app/build.gradle @@ -61,8 +61,7 @@ apply from: "react.gradle" apply from: "../../node_modules/react-native-code-push/android/codepush.gradle" /** - * Set this to true to create three separate APKs instead of one: - * - A universal APK that works on all devices + * Set this to true to create two separate APKs instead of one: * - An APK that only works on ARM devices * - An APK that only works on x86 devices * The advantage is the size of the APK is reduced by about 4MB. @@ -93,7 +92,7 @@ android { splits { abi { enable enableSeparateBuildPerCPUArchitecture - universalApk true + universalApk false // Also generate an universal APK reset() include "armeabi-v7a", "x86" } diff --git a/Examples/CodePushDemoApp/crossplatformdemo.js b/Examples/CodePushDemoApp/crossplatformdemo.js index ff7de19..368b7e3 100644 --- a/Examples/CodePushDemoApp/crossplatformdemo.js +++ b/Examples/CodePushDemoApp/crossplatformdemo.js @@ -57,7 +57,7 @@ let CodePushDemoApp = React.createClass({ break; case CodePush.SyncStatus.UPDATE_INSTALLED: self.setState({ - syncMessage: "Update installed and will be run when the app next resumes.", + syncMessage: "Update installed.", progress: false }); break;