From 4fbefdf4e260a276cdcacfe74c6f9f6cba0ef9da Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Sun, 15 Jan 2023 16:45:29 +0300 Subject: [PATCH] android build name and code added. --- android/app/build.gradle | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 6edcaa35..e55e2b22 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -49,8 +49,8 @@ android { // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion 21 targetSdkVersion 33 - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName + versionCode 1 + versionName '1.0.0' } signingConfigs { diff --git a/pubspec.yaml b/pubspec.yaml index 6d74f91c..d7f45c00 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.7.4+1 +version: 1.0.0+1 environment: sdk: ">=2.7.0 <3.0.0"