From 55b497d0e843c1ffcd0d915ace872f45e0448884 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Mon, 18 Sep 2023 10:19:00 +0300 Subject: [PATCH] release on android & ios --- android/app/build.gradle | 28 ++++++++++++++-------------- ios/Runner.xcodeproj/project.pbxproj | 18 +++++++++--------- ios/Runner/Info.plist | 16 ++++++++-------- pubspec.yaml | 2 +- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 4f0659df..d8e93da8 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -49,30 +49,30 @@ android { // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion 21 targetSdkVersion 33 - versionCode 1 - versionName '1.0.0' + versionCode 3 + versionName '1.0.3' } signingConfigs { -// release { -// keyAlias keystoreProperties['keyAlias'] -// keyPassword keystoreProperties['keyPassword'] -// storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null -// storePassword keystoreProperties['storePassword'] -// } + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword keystoreProperties['storePassword'] + } } buildTypes { debug { signingConfig signingConfigs.debug } - release { - signingConfig signingConfigs.debug - } // release { -// minifyEnabled true -// shrinkResources true -// signingConfig signingConfigs.release +// signingConfig signingConfigs.debug // } + release { + minifyEnabled true + shrinkResources true + signingConfig signingConfigs.release + } } } diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 471a4caa..d3d177ff 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -369,7 +369,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 3A359E86ZF; + DEVELOPMENT_TEAM = 99Z3UD3LJM; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Atoms; @@ -377,7 +377,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.4; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -459,7 +459,7 @@ "\"UserNotifications\"", "\"-lc++\"", ); - PRODUCT_BUNDLE_IDENTIFIER = com.hmg.atoms; + PRODUCT_BUNDLE_IDENTIFIER = com.habib.atoms; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -589,7 +589,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 3A359E86ZF; + DEVELOPMENT_TEAM = 99Z3UD3LJM; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Atoms; @@ -597,7 +597,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.4; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -679,7 +679,7 @@ "\"UserNotifications\"", "\"-lc++\"", ); - PRODUCT_BUNDLE_IDENTIFIER = com.hmg.atoms; + PRODUCT_BUNDLE_IDENTIFIER = com.habib.atoms; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -697,7 +697,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 3A359E86ZF; + DEVELOPMENT_TEAM = 99Z3UD3LJM; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Atoms; @@ -705,7 +705,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.4; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -787,7 +787,7 @@ "\"UserNotifications\"", "\"-lc++\"", ); - PRODUCT_BUNDLE_IDENTIFIER = com.hmg.atoms; + PRODUCT_BUNDLE_IDENTIFIER = com.habib.atoms; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 4d661d08..3f4e3439 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -7,7 +7,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Atoms SA + Atoms CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -15,7 +15,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - Atoms SA + Atoms CFBundlePackageType APPL CFBundleShortVersionString @@ -28,6 +28,8 @@ LSRequiresIPhoneOS + LSSupportsOpeningDocumentsInPlace + NSCameraUsageDescription This app requires permission to access Camera to allow user to attach images NSMicrophoneUsageDescription @@ -36,10 +38,8 @@ This app requires permission to access photo gallery to allow user to attach images NSSpeechRecognitionUsageDescription This app requires permission for Speech Recognition for speech to text functionality. - LSSupportsOpeningDocumentsInPlace - - UISupportsDocumentBrowser - + UIApplicationSupportsIndirectInputEvents + UIBackgroundModes fetch @@ -62,9 +62,9 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + UISupportsDocumentBrowser + UIViewControllerBasedStatusBarAppearance - UIApplicationSupportsIndirectInputEvents - diff --git a/pubspec.yaml b/pubspec.yaml index 677ef09c..031a8b0d 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: 1.0.1+2 +version: 1.0.4+3 environment: sdk: ">=2.7.0 <3.0.0"