From 5acc509dfea6f5ba7940037d1cdafc38f3b9ab79 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 12 Mar 2020 11:22:25 -0300 Subject: [PATCH] Set default config on gradle.properties --- android/app/build.gradle | 4 ++-- android/gradle.properties | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 5e03b7e19..5a03179d7 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -134,11 +134,11 @@ android { } defaultConfig { - applicationId "chat.rocket.reactnative" + applicationId APPLICATIONID as String minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode VERSIONCODE as Integer - versionName "4.5.1" + versionName VERSIONNAME as String vectorDrawables.useSupportLibrary = true manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String] } diff --git a/android/gradle.properties b/android/gradle.properties index 2357aa650..e2d5f8393 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -21,5 +21,7 @@ org.gradle.jvmargs=-Xmx2048M -XX\:MaxHeapSize\=32g android.useAndroidX=true android.enableJetifier=true -VERSIONCODE=999999999 +APPLICATIONID=chat.rocket.reactnative +VERSIONNAME=4.5.1 +VERSIONCODE=1 BugsnagAPIKey=""