From d1b09a356b2165753dd9d6328f3e4d80bf130a9e Mon Sep 17 00:00:00 2001 From: Navaron Bracke Date: Mon, 7 Oct 2024 18:32:49 +0200 Subject: [PATCH 1/2] bump version --- CHANGELOG.md | 5 ++++- example/ios/Flutter/AppFrameworkInfo.plist | 2 +- example/ios/Podfile | 4 ++-- example/ios/Runner.xcodeproj/project.pbxproj | 6 +++--- ios/mobile_scanner.podspec | 6 +++--- macos/mobile_scanner.podspec | 2 +- pubspec.yaml | 2 +- 7 files changed, 15 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 733bc4279..c87b566b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ -## NEXT +## 5.2.4 + +* [iOS] iOS 15.5.0 is now the minimum supported iOS version. Improvements: +* [iOS] Updates MLkit to the latest release. * [MacOS] Added the corners and size information to barcode results. * [MacOS] Added support for `analyzeImage`. * [MacOS] Added a Privacy Manifest. diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index 7c5696400..585837899 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 12.0 + 15.5.0 diff --git a/example/ios/Podfile b/example/ios/Podfile index 5905f045b..5226bfe73 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '12.0' +# platform :ios, '15.5.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' @@ -41,7 +41,7 @@ post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) target.build_configurations.each do |config| - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.5.0' end end end diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index a1b2c52e4..a0a72c483 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -470,7 +470,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.5.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -601,7 +601,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.5.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -650,7 +650,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.5.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/ios/mobile_scanner.podspec b/ios/mobile_scanner.podspec index cff74e2bc..462bbf2eb 100644 --- a/ios/mobile_scanner.podspec +++ b/ios/mobile_scanner.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'mobile_scanner' - s.version = '5.2.3' + s.version = '5.2.4' s.summary = 'An universal scanner for Flutter based on MLKit.' s.description = <<-DESC An universal scanner for Flutter based on MLKit. @@ -15,8 +15,8 @@ An universal scanner for Flutter based on MLKit. s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.dependency 'GoogleMLKit/BarcodeScanning', '~> 6.0.0' - s.platform = :ios, '12.0' + s.dependency 'GoogleMLKit/BarcodeScanning', '~> 7.0.0' + s.platform = :ios, '15.5.0' s.static_framework = true # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } diff --git a/macos/mobile_scanner.podspec b/macos/mobile_scanner.podspec index 1cb25ad0b..2a9f69e33 100644 --- a/macos/mobile_scanner.podspec +++ b/macos/mobile_scanner.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'mobile_scanner' - s.version = '5.2.3' + s.version = '5.2.4' s.summary = 'An universal scanner for Flutter based on MLKit.' s.description = <<-DESC An universal scanner for Flutter based on MLKit. diff --git a/pubspec.yaml b/pubspec.yaml index 80cdce43e..0b96d813d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: mobile_scanner description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS. -version: 5.2.3 +version: 5.2.4 repository: https://github.com/juliansteenbakker/mobile_scanner screenshots: From 04ca39938dcaffb6ac0d65a275a740848acc1e22 Mon Sep 17 00:00:00 2001 From: Navaron Bracke Date: Mon, 7 Oct 2024 20:09:08 +0200 Subject: [PATCH 2/2] new major version --- CHANGELOG.md | 7 +++++-- ios/mobile_scanner.podspec | 2 +- macos/mobile_scanner.podspec | 2 +- pubspec.yaml | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c87b566b4..6064cbbae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,12 @@ -## 5.2.4 +## 6.0.0 + +**BREAKING CHANGES:** * [iOS] iOS 15.5.0 is now the minimum supported iOS version. +* [iOS] Updates MLKit to version 7.0.0. +* [iOS] Updates the minimum supported XCode version to 15.3.0. Improvements: -* [iOS] Updates MLkit to the latest release. * [MacOS] Added the corners and size information to barcode results. * [MacOS] Added support for `analyzeImage`. * [MacOS] Added a Privacy Manifest. diff --git a/ios/mobile_scanner.podspec b/ios/mobile_scanner.podspec index 462bbf2eb..74fc05420 100644 --- a/ios/mobile_scanner.podspec +++ b/ios/mobile_scanner.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'mobile_scanner' - s.version = '5.2.4' + s.version = '6.0.0' s.summary = 'An universal scanner for Flutter based on MLKit.' s.description = <<-DESC An universal scanner for Flutter based on MLKit. diff --git a/macos/mobile_scanner.podspec b/macos/mobile_scanner.podspec index 2a9f69e33..44174bc42 100644 --- a/macos/mobile_scanner.podspec +++ b/macos/mobile_scanner.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'mobile_scanner' - s.version = '5.2.4' + s.version = '6.0.0' s.summary = 'An universal scanner for Flutter based on MLKit.' s.description = <<-DESC An universal scanner for Flutter based on MLKit. diff --git a/pubspec.yaml b/pubspec.yaml index 0b96d813d..83542032d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: mobile_scanner description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS. -version: 5.2.4 +version: 6.0.0 repository: https://github.com/juliansteenbakker/mobile_scanner screenshots: