From aba76445fdca27ede7b462a5cedda6730cc9ec46 Mon Sep 17 00:00:00 2001 From: Aman Singh Date: Tue, 28 Feb 2023 02:14:01 +0530 Subject: [PATCH] added version name and code for ci pipeline (#111) --- android/app/build.gradle | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index c47c2d46..4c464b82 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -131,6 +131,9 @@ def reactNativeArchitectures() { return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] } +def VERSION_CODE = 24 +def VERSION_NAME = "1" + android { ndkVersion rootProject.ext.ndkVersion @@ -140,8 +143,8 @@ android { applicationId "com.avapp" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 24 - versionName "1" + versionCode VERSION_CODE + versionName VERSION_NAME buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() if (isNewArchitectureEnabled()) {