Skip to content

v7.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Jul 06:19
· 0 commits to 01ece668622f3551a182667bde86ddeee1102117 since this release

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.