Skip to content

Commit 0c9b959

Browse files
release of v7.0.0
1 parent 0a1007c commit 0c9b959

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
## 7.0.0
2+
3+
This version finalizes all changes from the beta and release candidate cycles and introduces major improvements, bug fixes, and breaking changes.
4+
5+
**BREAKING CHANGES:**
6+
7+
* Requires Flutter 3.29.0 or higher.
8+
* The initial camera facing direction in `MobileScannerState` is now `CameraFacing.unknown`.
9+
* Removed the deprecated `EncryptionType.none`. Use `EncryptionType.unknown` instead.
10+
* The `errorBuilder` and `placeholderBuilder` no longer have a Widget argument.
11+
* Removed the `MobileScannerErrorBuilder` typedef.
12+
13+
**Highlights**
14+
15+
* [iOS/macOS] Migrated to the Vision API with a unified Apple codebase.
16+
* [Android] Removed dependency on `kotlin-bom` and updated CameraX and camera-camera2 dependencies.
17+
* Support for pause/resume functionality across platforms.
18+
* `MobileScannerErrorCode` now includes readable error messages in debug mode.
19+
* Hot-restart during development now works correctly.
20+
* Added overlay widgets for barcode and scan window visualization.
21+
* Exposed new API parameters like `autoZoom`, `invertImage`, and lifecycle handling.
22+
23+
**Bug Fixes and Improvements**
24+
25+
* [Apple]
26+
* Fixed rotation, orientation, and zoom behavior.
27+
* Resolved incorrect barcode overlay dimensions and corner coordinates.
28+
* Fixed a crash when stopping the camera with a nil device.
29+
* Fixed build issues including optional chaining on non-optional values.
30+
* [Android]
31+
* Fixed rotation and orientation issues.
32+
* Resolved timing issues in `SurfaceProducer` with Kotlin 1.8+.
33+
* Fixed resource leaks and improved image analysis compatibility.
34+
* Improved logging behavior (CameraX logs only errors).
35+
* [macOS]
36+
* Fixed mirrored images and build issues.
37+
* [Web]
38+
* Fixed barcode overlay not displaying due to incorrect corner point data.
39+
140
## 7.0.0-rc.2
241

342
Bugs fixed:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mobile_scanner
22
description: A universal Flutter barcode and QR code scanner using CameraX/ML Kit for Android, AVFoundation/Apple Vision for iOS & macOS, and ZXing for web.
3-
version: 7.0.0-rc.2
3+
version: 7.0.0
44
repository: https://github.com/juliansteenbakker/mobile_scanner
55

66
screenshots:

0 commit comments

Comments
 (0)