Skip to content

chore(deps): bump mobile_scanner from 7.2.0 to 7.4.2 - #35

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor

Bumps mobile_scanner from 7.2.0 to 7.4.2.

Release notes

Sourced from mobile_scanner's releases.

v7.4.2

7.4.2 (2026-09-10)

Bug Fixes

  • android: defer orientation sensor listener until camera start (#1803) (f9c81ea)

v7.4.1

Improvements

  • [Web] Bumped zxing-wasm (the WebBarcodeReader.zxingWasm backend) from 3.1.1 to 3.1.3.

Bug Fixes

  • [Android] Fixed the camera preview reporting a stale device orientation on start, when the device was rotated while the camera was stopped.
  • [Android] Fixed device rotations sometimes not being detected while the camera is running, e.g. when the display rotation callback fires before the display reflects the new rotation, or on a seamless 180 degree rotation between the two landscape orientations.
  • [Android] Fixed barcode scanning permanently stalling when a camera frame was never released. The ImageProxy is now released on every exit path of the analyzer, including a null image, a failed or cancelled ML Kit request, and any error while building the input image or handling the result. Previously a single leaked frame stopped all further scanning while the preview kept running. (thanks @​WladmirJunior !)
  • [Android] Fixed a host-app crash when CameraX fails to initialize while starting the scanner (e.g. "Available cameras: 0", the camera being held by another process, or a transient HAL error). The failure is now routed through the normal error callback so it can be surfaced via errorBuilder instead of terminating the app.
  • [Android] Fixed the false-positive Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): mobile_scanner warning on AGP 9. The plugin's Gradle files are now Kotlin DSL, and the Kotlin Gradle Plugin is only applied when built-in Kotlin is disabled, which keeps the build working on older AGP versions. (thanks @​AndresMontaniv !)
  • [Android] Added a ProGuard keep rule for the internal ML Kit barcode classes (com.google.android.gms.internal.mlkit_vision_barcode), which could be stripped or obfuscated in release builds.
  • [Apple] Fixed a crash when the app is terminated while the camera is running. A capture frame that was still in flight could reach the Flutter engine after its shell had been destroyed, causing an EXC_BAD_ACCESS. The capture session is now stopped before the engine is destroyed, and the camera is released when the engine detaches the plugin.
  • [Web] Fixed web builds failing to compile on Dart 3.14 (Flutter 3.48), which rejects @JS annotations on extension type constructors. The annotations were already no-ops, so removing them does not change any behavior.
  • Fixed the camera preview no longer following device rotation after switchCamera(). Restarting the camera recreated the device orientation stream, and cancelling a listener of the previous stream instance afterwards inadvertently tore down the platform channel of the new one.

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

... (truncated)

Changelog

Sourced from mobile_scanner's changelog.

7.4.2 (2026-09-10)

Bug Fixes

  • android: defer orientation sensor listener until camera start (#1803) (f9c81ea)

7.4.1

Improvements

  • [Web] Bumped zxing-wasm (the WebBarcodeReader.zxingWasm backend) from 3.1.1 to 3.1.3.

Bug Fixes

  • [Android] Fixed the camera preview reporting a stale device orientation on start, when the device was rotated while the camera was stopped.
  • [Android] Fixed device rotations sometimes not being detected while the camera is running, e.g. when the display rotation callback fires before the display reflects the new rotation, or on a seamless 180 degree rotation between the two landscape orientations.
  • [Android] Fixed barcode scanning permanently stalling when a camera frame was never released. The ImageProxy is now released on every exit path of the analyzer, including a null image, a failed or cancelled ML Kit request, and any error while building the input image or handling the result. Previously a single leaked frame stopped all further scanning while the preview kept running. (thanks @​WladmirJunior !)
  • [Android] Fixed a host-app crash when CameraX fails to initialize while starting the scanner (e.g. "Available cameras: 0", the camera being held by another process, or a transient HAL error). The failure is now routed through the normal error callback so it can be surfaced via errorBuilder instead of terminating the app.
  • [Android] Fixed the false-positive Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): mobile_scanner warning on AGP 9. The plugin's Gradle files are now Kotlin DSL, and the Kotlin Gradle Plugin is only applied when built-in Kotlin is disabled, which keeps the build working on older AGP versions. (thanks @​AndresMontaniv !)
  • [Android] Added a ProGuard keep rule for the internal ML Kit barcode classes (com.google.android.gms.internal.mlkit_vision_barcode), which could be stripped or obfuscated in release builds.
  • [Apple] Fixed a crash when the app is terminated while the camera is running. A capture frame that was still in flight could reach the Flutter engine after its shell had been destroyed, causing an EXC_BAD_ACCESS. The capture session is now stopped before the engine is destroyed, and the camera is released when the engine detaches the plugin.
  • [Web] Fixed web builds failing to compile on Dart 3.14 (Flutter 3.48), which rejects @JS annotations on extension type constructors. The annotations were already no-ops, so removing them does not change any behavior.
  • Fixed the camera preview no longer following device rotation after switchCamera(). Restarting the camera recreated the device orientation stream, and cancelling a listener of the previous stream instance afterwards inadvertently tore down the platform channel of the new one.

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

... (truncated)

Commits
  • 34f5050 chore(develop): release 7.4.2 (#1804)
  • f9c81ea fix(android): defer orientation sensor listener until camera start (#1803)
  • 5349d04 chore: example macos spm (#1800)
  • b776c2e docs: add missing 7.4.1 changelog entries
  • 56ff4d3 chore(deps): bump the example-android group in /example/android with 2 update...
  • c9406fd chore(deps): bump zxing-wasm from 3.1.2 to 3.1.3 (#1776)
  • d4cd946 chore(deps): bump gradle-wrapper from 9.5.0 to 9.7.1 in /android (#1788)
  • 49dfb65 chore(deps): bump actions/setup-java from 5 to 6 (#1792)
  • a1f203f chore: add dependabot cooldown and grouping (#1798)
  • c594d20 fix(apple): release the camera when the engine detaches the plugin
  • 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.2.
- [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.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
deal-souk Ready Ready Preview Oct 26, 2026 5:17pm UTC
deal-souk-shopper Ready Ready Preview Oct 26, 2026 5:17pm UTC

@dependabot @github

dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, flutter. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

This branch was successfully deployed

1 active deployment
Preview – deal-souk — 5fb870ad Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants