Releases: juliansteenbakker/mobile_scanner
Releases · juliansteenbakker/mobile_scanner
v6.0.3
New features:
- Adds pause function to pause the camera but keep textures in place.
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
Bugs fixed:
- Fixed a bug that prevented
analyzeImagefrom actually accepting the configured formats.
Improvements:
- [iOS] Excluded the
arm64architecture for Simulators, which is unsupported by MLKit 7.0.0.
v6.0.1
Bugs fixed:
- Fixed a bug that would cause onDetect to not handle errors.
Improvements:
- [iOS] Excluded the
armv7architecture, which is unsupported by MLKit 7.0.0. - Added a new
onDetectErrorerror handler to theMobileScannerwidget, 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
hasCameraPermissionfor 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
returnImageto only determine if the camera output bytes should be sent. - Updated the behavior of
BarcodeCapture.sizeto 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.noneconstant has been deprecated, as its name was misleading. UseEncryptionType.unknowninstead.
Bugs fixed:
- Fixed
EncryptionTypethrowing on invalidSAEencryption type. - [web] Removed the
controlsattribute on the video preview.
Improvements:
- All enum types for barcode data (i.e. Wifi type or email type) now return
unknownfor unrecognized values.
v5.2.2
Improvements:
- [MacOS] Adds Swift Package Manager support.
- [MacOS] Adds support for
returnImage. - Added a new
sizeproperty toBarcode, that denotes the bounding box of the barcode.
Bugs fixed:
- Fixed some documentation errors for the
sizeandimageofBarcodeCapture. - [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.