Skip to content

Bump mobile_scanner from 7.2.0 to 7.4.0 - #19

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/mobile_scanner-7.4.0
Open

Bump mobile_scanner from 7.2.0 to 7.4.0#19
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/mobile_scanner-7.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 24, 2026

Copy link
Copy Markdown

Bumps mobile_scanner from 7.2.0 to 7.4.0.

Release notes

Sourced from mobile_scanner's releases.

v7.4.0

7.4.0 (2026-07-19)

New features

  • Added getBestCloseRangeScanningLens() to determine which camera lens is best suited for scanning barcodes at close range (e.g. the ultra-wide/macro lens on newer iPhones). Returns null if no camera is available for the requested facing direction.

Improvements

  • Added an optional facing filter to getSupportedLenses, to restrict results to front or back cameras.

Bug Fixes

  • [Android] Fixed getSupportedLenses reporting physical sub-cameras that CameraX can't actually select, which caused a crash when switching to one.
  • [Android] Starting the scanner with an unavailable lensType now reports an error instead of silently falling back to the default camera.

v7.3.1

7.3.1

Bug Fixes

  • Bumped the minimum required version of the web package to 1.0.0.

v7.3.0

New features

  • [Web] Added support for multiple barcode detection backends, selectable via MobileScannerPlatform.instance.setWebBarcodeReader(WebBarcodeReader reader):
    • WebBarcodeReader.auto (default), uses the native BarcodeDetector API when available, and falls back to zxing-wasm otherwise.
    • WebBarcodeReader.barcodeDetector, uses the W3C Shape Detection API (Chrome 83+, Edge 83+, Safari 17+). No external library is loaded.
    • WebBarcodeReader.zxingWasm, uses zxing-wasm (ZXing C++ compiled to WebAssembly), which works in all modern browsers including Firefox.
    • WebBarcodeReader.zxingJs, the legacy ZXing JavaScript backend, retained for backward compatibility.
  • [Web] Added MobileScannerPlatform.instance.activeWebReader to query which backend is currently active.
  • Added BarcodeFormat.maxiCode and BarcodeFormat.microQrCode, supported by the WebBarcodeReader.zxingJs and WebBarcodeReader.zxingWasm backends.
  • Added BarcodeFormat.dataBar, BarcodeFormat.dataBarExpanded and BarcodeFormat.dataBarLimited (GS1 DataBar / RSS-14), supported by the WebBarcodeReader.zxingJs and WebBarcodeReader.zxingWasm backends (DataBar and DataBar Expanded only for zxingJs), and by Apple Vision on iOS 15+ / macOS 12+.

Improvements

  • [Web] Bumped @zxing/library (the WebBarcodeReader.zxingJs backend) from 0.21.3 to 0.23.0.

Bug Fixes

  • Fixed disposing a MobileScannerController also disposing the platform resources of a different controller. Disposing a controller that does not hold the active camera session no longer tears down the camera of the controller that does. (#1631)
  • Fixed a subscription leak where a controller that was disposed without being stopped kept its internal event stream subscriptions alive.
  • Fixed an issue when running the plugin using AGP 9.

v7.2.1

Improvements

  • [Web] The preferred camera device ID is now persisted in localStorage and reused on the next start.
  • [Web] Focus, exposure, and white-balance constraints are now applied automatically when supported by the browser (Image Capture API).

... (truncated)

Changelog

Sourced from mobile_scanner's changelog.

7.4.0

New features

  • Added getBestCloseRangeScanningLens() to determine which camera lens is best suited for scanning barcodes at close range (e.g. the ultra-wide/macro lens on newer iPhones). Returns null if no camera is available for the requested facing direction.

Improvements

  • Added an optional facing filter to getSupportedLenses, to restrict results to front or back cameras.

Bug Fixes

  • [Android] Fixed getSupportedLenses reporting physical sub-cameras that CameraX can't actually select, which caused a crash when switching to one.
  • [Android] Starting the scanner with an unavailable lensType now reports an error instead of silently falling back to the default camera.

7.3.1

Bug Fixes

  • Bumped the minimum required version of the web package to 1.0.0.

7.3.0

New features

  • [Web] Added support for multiple barcode detection backends, selectable via MobileScannerPlatform.instance.setWebBarcodeReader(WebBarcodeReader reader):
    • WebBarcodeReader.auto (default), uses the native BarcodeDetector API when available, and falls back to zxing-wasm otherwise.
    • WebBarcodeReader.barcodeDetector, uses the W3C Shape Detection API (Chrome 83+, Edge 83+, Safari 17+). No external library is loaded.
    • WebBarcodeReader.zxingWasm, uses zxing-wasm (ZXing C++ compiled to WebAssembly), which works in all modern browsers including Firefox.
    • WebBarcodeReader.zxingJs, the legacy ZXing JavaScript backend, retained for backward compatibility.
  • [Web] Added MobileScannerPlatform.instance.activeWebReader to query which backend is currently active.
  • Added BarcodeFormat.maxiCode and BarcodeFormat.microQrCode, supported by the WebBarcodeReader.zxingJs and WebBarcodeReader.zxingWasm backends.
  • Added BarcodeFormat.dataBar, BarcodeFormat.dataBarExpanded and BarcodeFormat.dataBarLimited (GS1 DataBar / RSS-14), supported by the WebBarcodeReader.zxingJs and WebBarcodeReader.zxingWasm backends (DataBar and DataBar Expanded only for zxingJs), and by Apple Vision on iOS 15+ / macOS 12+.

Improvements

  • [Web] Bumped @zxing/library (the WebBarcodeReader.zxingJs backend) from 0.21.3 to 0.23.0.

Bug Fixes

  • Fixed disposing a MobileScannerController also disposing the platform resources of a different controller. Disposing a controller that does not hold the active camera session no longer tears down the camera of the controller that does. (#1631)
  • Fixed a subscription leak where a controller that was disposed without being stopped kept its internal event stream subscriptions alive.
  • Fixed an issue when running the plugin using AGP 9.

7.2.1

Improvements

  • [Web] The preferred camera device ID is now persisted in localStorage and reused on the next start.
  • [Web] Focus, exposure, and white-balance constraints are now applied automatically when supported by the browser (Image Capture API).

... (truncated)

Commits
  • 19587b3 ci: add dart-lang/setup-dart step to fix pub.dev OIDC publishing
  • d2ab64b ci: use fine-grained PAT for release-please-action
  • 22af90e chore: merge master into develop to resolve promotion conflicts
  • 01ece66 Merge pull request #1754 from juliansteenbakker/release-please--branches--dev...
  • 1f56df8 docs: rewrite 7.4.0 changelog entry in house style
  • adae410 chore(develop): release 7.4.0
  • 799c639 Merge pull request #1755 from juliansteenbakker/rename/best-close-range-scann...
  • c5f06b5 refactor: rename getBestQrScanningLens to getBestCloseRangeScanningLens
  • 81e6954 docs: fix changelog entries misfiled under already-shipped 7.3.0
  • 4cef959 Merge pull request #1742 from juliansteenbakker/feat/best-qr-scanning-lens
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mobile_scanner](https://github.com/juliansteenbakker/mobile_scanner) from 7.2.0 to 7.4.0.
- [Release notes](https://github.com/juliansteenbakker/mobile_scanner/releases)
- [Changelog](https://github.com/juliansteenbakker/mobile_scanner/blob/develop/CHANGELOG.md)
- [Commits](juliansteenbakker/mobile_scanner@v7.2.0...v7.4.0)

---
updated-dependencies:
- dependency-name: mobile_scanner
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants