Navaron Bracke

update changelog & version

  1 +## 5.2.2
  2 +
  3 +Improvements:
  4 +* [MacOS] Adds Swift Package Manager support.
  5 +* [MacOS] Adds support for `returnImage`.
  6 +* Added a new `size` property to `Barcode`, that denotes the bounding box of the barcode.
  7 +
  8 +Bugs fixed:
  9 +* Fixed some documentation errors for the `size` and `image` of `BarcodeCapture`.
  10 +* [iOS] Fixed a bug with `returnImage`.
  11 +* [Android/iOS] Adjusted the raw barcode scan value to pass the raw event data, like on MacOS.
  12 +
1 ## 5.2.1 13 ## 5.2.1
2 14
3 * Updates the `package:web` dependency to use a version range. 15 * Updates the `package:web` dependency to use a version range.
@@ -44,7 +56,7 @@ Improvements: @@ -44,7 +56,7 @@ Improvements:
44 This major release contains all the changes from the 5.0.0 beta releases, along with the following changes: 56 This major release contains all the changes from the 5.0.0 beta releases, along with the following changes:
45 57
46 Improvements: 58 Improvements:
47 -- [Android] Remove the Kotlin Standard Library from the dependencies, as it is automatically included in Kotlin 1.4+ 59 +* [Android] Remove the Kotlin Standard Library from the dependencies, as it is automatically included in Kotlin 1.4+
48 60
49 ## 5.0.0-beta.3 61 ## 5.0.0-beta.3
50 **BREAKING CHANGES:** 62 **BREAKING CHANGES:**
@@ -58,7 +58,7 @@ public class MobileScannerPlugin: NSObject, FlutterPlugin { @@ -58,7 +58,7 @@ public class MobileScannerPlugin: NSObject, FlutterPlugin {
58 if (MobileScannerPlugin.isBarcodeInScanWindow(barcode: barcode, imageSize: image.size)) { 58 if (MobileScannerPlugin.isBarcodeInScanWindow(barcode: barcode, imageSize: image.size)) {
59 return barcode.data 59 return barcode.data
60 } 60 }
61 - 61 +
62 return nil 62 return nil
63 } 63 }
64 64
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 # 4 #
5 Pod::Spec.new do |s| 5 Pod::Spec.new do |s|
6 s.name = 'mobile_scanner' 6 s.name = 'mobile_scanner'
7 - s.version = '5.2.1' 7 + s.version = '5.2.2'
8 s.summary = 'An universal scanner for Flutter based on MLKit.' 8 s.summary = 'An universal scanner for Flutter based on MLKit.'
9 s.description = <<-DESC 9 s.description = <<-DESC
10 An universal scanner for Flutter based on MLKit. 10 An universal scanner for Flutter based on MLKit.
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 # 4 #
5 Pod::Spec.new do |s| 5 Pod::Spec.new do |s|
6 s.name = 'mobile_scanner' 6 s.name = 'mobile_scanner'
7 - s.version = '5.2.1' 7 + s.version = '5.2.2'
8 s.summary = 'An universal scanner for Flutter based on MLKit.' 8 s.summary = 'An universal scanner for Flutter based on MLKit.'
9 s.description = <<-DESC 9 s.description = <<-DESC
10 An universal scanner for Flutter based on MLKit. 10 An universal scanner for Flutter based on MLKit.
1 name: mobile_scanner 1 name: mobile_scanner
2 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. 2 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.
3 -version: 5.2.1 3 +version: 5.2.2
4 repository: https://github.com/juliansteenbakker/mobile_scanner 4 repository: https://github.com/juliansteenbakker/mobile_scanner
5 5
6 screenshots: 6 screenshots: