Skip to content

Releases: juliansteenbakker/mobile_scanner

v7.0.0-beta.3

29 Oct 07:40
2f79daf
Compare
Choose a tag to compare
v7.0.0-beta.3 Pre-release
Pre-release

Fix build issues on macOS

v7.0.0-beta.2

28 Oct 15:16
3cb016d
Compare
Choose a tag to compare
v7.0.0-beta.2 Pre-release
Pre-release

Improvements:

  • [iOS] Adds support for Swift Package Manager.
  • [Apple] Fixes zoom slider
  • Fixed torch at start not working
  • Fixed scanWindow not being correct
  • Fixed barcode overlay not being correct

Known issues:

  • BoxFit.cover & BoxFit.fitHeight produces wrong width in barcodeOverlay

v7.0.0-beta.1

23 Oct 14:39
ae98432
Compare
Choose a tag to compare
v7.0.0-beta.1 Pre-release
Pre-release

This version replaces MLKit on iOS with Apples Vision API. The code base is now shared with macOS.
This change removes the requirement for iOS 15 or higher.

There are still some problems with this build.

  • Zoom slider not working
  • scanWindow not working
  • Flash shows briefly when starting scanner.
  • Other issues, not fully tested yet.

v6.0.2

23 Oct 14:38
e01fbed
Compare
Choose a tag to compare

Bugs fixed:

  • Fixed a bug that prevented analyzeImage from actually accepting the configured formats.

Improvements:

  • [iOS] Excluded the arm64 architecture for Simulators, which is unsupported by MLKit 7.0.0.

v6.0.1

23 Oct 14:38
dcf46c2
Compare
Choose a tag to compare

Bugs fixed:

  • Fixed a bug that would cause onDetect to not handle errors.

Improvements:

  • [iOS] Excluded the armv7 architecture, which is unsupported by MLKit 7.0.0.
  • Added a new onDetectError error handler to the MobileScanner widget, for use with onDetect.

v6.0.0

23 Oct 14:37
02e4c66
Compare
Choose a tag to compare

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:

  • [MacOS] Added the corners and size information to barcode results.
  • [MacOS] Added support for analyzeImage.
  • [MacOS] Added a Privacy Manifest.
  • [web] Added the size information to barcode results.
  • [web] Added the video output size information to barcode capture.
  • Added support for barcode formats to image analysis.
  • Updated the scanner to report any scanning errors that were encountered during processing.
  • Introduced a new getter hasCameraPermission for the MobileScannerState.
  • Fixed a bug in the lifecycle handling sample. Now instead of checking isInitialized,
    the sample recommends using hasCameraPermission, which also guards against camera permission errors.
  • Updated the behavior of returnImage to only determine if the camera output bytes should be sent.
  • Updated the behavior of BarcodeCapture.size to always be provided when available, regardless of returnImage.

Bugs fixed:

  • Fixed a bug that would cause the scanner to emit an error when it was already started. Now it ignores any calls to start while it is starting.
  • [MacOS] Fixed a bug that prevented the anaylzeImage() sample from working properly.

v5.2.3

23 Oct 14:37
23f3dd3
Compare
Choose a tag to compare

Deprecations:

  • The EncryptionType.none constant has been deprecated, as its name was misleading. Use EncryptionType.unknown instead.

Bugs fixed:

  • Fixed EncryptionType throwing on invalid SAE encryption type.
  • [web] Removed the controls attribute on the video preview.

Improvements:

  • All enum types for barcode data (i.e. Wifi type or email type) now return unknown for unrecognized values.

v5.2.2

23 Oct 14:37
c4bf426
Compare
Choose a tag to compare

Improvements:

  • [MacOS] Adds Swift Package Manager support.
  • [MacOS] Adds support for returnImage.
  • Added a new size property to Barcode, that denotes the bounding box of the barcode.

Bugs fixed:

  • Fixed some documentation errors for the size and image of BarcodeCapture.
  • [iOS] Fixed a bug with returnImage.
  • [Android/iOS] Adjusted the raw barcode scan value to pass the raw event data, like on MacOS.

v5.2.1

23 Oct 14:37
65bc14b
Compare
Choose a tag to compare

Updates the package:web dependency to use a version range.

v5.2.0

23 Oct 14:36
7646e7c
Compare
Choose a tag to compare

This release requires Flutter 3.22.0 and Dart 3.4.

  • [Android] Fixed a leak of the barcode scanner.
  • [Android] Fixed a crash when encountering invalid numbers for the scan window.
  • [Web] Migrates package:web to 1.0.0.