Releases: juliansteenbakker/mobile_scanner
Releases · juliansteenbakker/mobile_scanner
v7.1.1
v7.1.0
Highlights
- [Apple & Android] Added tap to focus functionality. You can enable it in the
MobileScanner
widget. - [Apple & Android] You can now set the initial zoom factor using the
initialZoom
parameter in thestartOptions
.
Bug Fixes and Improvements
- [iOS] Increased minimum os level to 13 due to Flutter requirements.
- [macOS] Increased minimum os level to 10.15 due to Flutter requirements.
- [Android] Update to Java 17, and update other dependencies.
- [Apple] Improved fallback for when camera is not found.
- Added a
Barcode.scaleCorners()
method.
v6.0.11
- [Android] Update camerax dependencies to support 16KB pages sizes.
v7.0.1
- Added error handling for when
MobileScannerController.start
is called without an activeMobileScanner
widget.
v7.0.0
This version finalizes all changes from the beta and release candidate cycles and introduces major improvements, bug fixes, and breaking changes.
BREAKING CHANGES:
- Requires Flutter 3.29.0 or higher.
- The initial camera facing direction in
MobileScannerState
is nowCameraFacing.unknown
. - Removed the deprecated
EncryptionType.none
. UseEncryptionType.unknown
instead. - The
errorBuilder
andplaceholderBuilder
no longer have a Widget argument. - Removed the
MobileScannerErrorBuilder
typedef.
Highlights
- [iOS/macOS] Migrated to the Vision API with a unified Apple codebase.
- [Android] Removed dependency on
kotlin-bom
and updated CameraX and camera-camera2 dependencies. - Support for pause/resume functionality across platforms.
MobileScannerErrorCode
now includes readable error messages in debug mode.- Hot-restart during development now works correctly.
- Added overlay widgets for barcode and scan window visualization.
- Exposed new API parameters like
autoZoom
,invertImage
, and lifecycle handling.
Bug Fixes and Improvements
- [Apple]
- Fixed rotation, orientation, and zoom behavior.
- Resolved incorrect barcode overlay dimensions and corner coordinates.
- Fixed a crash when stopping the camera with a nil device.
- Fixed build issues including optional chaining on non-optional values.
- [Android]
- Fixed rotation and orientation issues.
- Resolved timing issues in
SurfaceProducer
with Kotlin 1.8+. - Fixed resource leaks and improved image analysis compatibility.
- Improved logging behavior (CameraX logs only errors).
- [macOS]
- Fixed mirrored images and build issues.
- [Web]
- Fixed barcode overlay not displaying due to incorrect corner point data.
v7.0.0-rc.2
Bugs fixed:
- [Apple] Fixed build issues "Cannot use optional chaining on non-optional value".
v7.0.0-rc.1
After six months of development, Version 7.0.0 is finally moving out of beta with this release candidate!
A stable release is scheduled for next week.
Improvements:
- [Android] Remove the dependency on
org.jetbrains.kotlin:kotlin-bom
. - [Android] Updated camerax dependencies.
- Hot-restart for development purposes is now working correctly
- Added message to
MobileScannerErrorCode
, which will be shown if kDebugMode is true. Otherwise, a generic error message will appear. - Fixed issues regarding initialization of the
MobileScannerController
, which could result in a black screen without error message.
Bugs fixed:
- [Android] Fixed rotation & orientation issues.
- [Apple] Fixed rotation & orientation issues.
- [Apple] Fixed a crash when stopping the camera when the camera device is nil.
- [macOS] Fixed image not being mirrored.
- [Web] Fixed barcode corners not being passed correctly resulting in no overlay being drawn.
v6.0.10
- [Apple] Fixed a crash when stopping the camera when the camera device is nil.
v6.0.9
Fixed onDetect not working when a MobileScannerController
is provided.
v6.0.8
Improvements:
- [Android] Remove the dependency on
org.jetbrains.kotlin:kotlin-bom
. - Hot-restart for development purposes is now working correctly
- Added message to
MobileScannerErrorCode
, which will be shown if kDebugMode is true. Otherwise, a generic error message will appear. - Fixed issues regarding initialization of the
MobileScannerController
, which could result in a black screen without error message.