·
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). Returnsnullif no camera is available for the requested facing direction.
Improvements
- Added an optional
facingfilter togetSupportedLenses, to restrict results to front or back cameras.
Bug Fixes
- [Android] Fixed
getSupportedLensesreporting physical sub-cameras that CameraX can't actually select, which caused a crash when switching to one. - [Android] Starting the scanner with an unavailable
lensTypenow reports an error instead of silently falling back to the default camera.