Skip to content

Releases: juliansteenbakker/mobile_scanner

v7.1.1

23 Sep 17:14

Choose a tag to compare

  • Fixed missing import of 'package:meta/meta.dart' on older Flutter sdk's

v7.1.0

23 Sep 14:10

Choose a tag to compare

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 the startOptions.

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

22 Sep 19:18

Choose a tag to compare

  • [Android] Update camerax dependencies to support 16KB pages sizes.

v7.0.1

04 Jun 08:15

Choose a tag to compare

  • Added error handling for when MobileScannerController.start is called without an active MobileScanner widget.

v7.0.0

02 May 08:19
0c9b959

Choose a tag to compare

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 now CameraFacing.unknown.
  • Removed the deprecated EncryptionType.none. Use EncryptionType.unknown instead.
  • The errorBuilder and placeholderBuilder 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

24 Apr 08:02

Choose a tag to compare

v7.0.0-rc.2 Pre-release
Pre-release

Bugs fixed:

  • [Apple] Fixed build issues "Cannot use optional chaining on non-optional value".

v7.0.0-rc.1

23 Apr 12:40

Choose a tag to compare

v7.0.0-rc.1 Pre-release
Pre-release

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

21 Apr 20:15
e8bfe5f

Choose a tag to compare

  • [Apple] Fixed a crash when stopping the camera when the camera device is nil.

v6.0.9

21 Apr 09:37
36a145f

Choose a tag to compare

Fixed onDetect not working when a MobileScannerController is provided.

v6.0.8

18 Apr 21:25
229d9ad

Choose a tag to compare

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.