Releases: juliansteenbakker/mobile_scanner
Releases · juliansteenbakker/mobile_scanner
v7.0.0-beta.3
Fix build issues on macOS
v7.0.0-beta.2
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
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
v6.0.1
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 theMobileScanner
widget, for use withonDetect
.
v6.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:
- [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 theMobileScannerState
. - Fixed a bug in the lifecycle handling sample. Now instead of checking
isInitialized
,
the sample recommends usinghasCameraPermission
, 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 ofreturnImage
.
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
Deprecations:
- The
EncryptionType.none
constant has been deprecated, as its name was misleading. UseEncryptionType.unknown
instead.
Bugs fixed:
- Fixed
EncryptionType
throwing on invalidSAE
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
Improvements:
- [MacOS] Adds Swift Package Manager support.
- [MacOS] Adds support for
returnImage
. - Added a new
size
property toBarcode
, that denotes the bounding box of the barcode.
Bugs fixed:
- Fixed some documentation errors for the
size
andimage
ofBarcodeCapture
. - [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
Updates the package:web
dependency to use a version range.
v5.2.0
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.