From dfe8bbcbbb652372daf2d120c8e175f15d7c8b38 Mon Sep 17 00:00:00 2001 From: Hiddify <114227601+hiddify1@users.noreply.github.com> Date: Tue, 22 Aug 2023 20:47:17 +0000 Subject: [PATCH] force same version code for all platforms --- android/app/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index eed5d954..8fdc80c8 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -86,6 +86,13 @@ android { viewBinding true aidl true } + +} + +android.applicationVariants.all { variant -> + variant.outputs.each { output -> + output.versionCodeOverride = android.defaultConfig.versionCode + } } flutter {