v7.2.1
·
82 commits
to develop
since this release
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).
- [Web] The camera now uses
StartOptions.cameraResolutionas the ideal resolution, falling back to 1920×1080. - [Web] The barcode overlay is now mirrored when the video preview is mirrored (e.g. front camera).
- [Web] The scan window is now supported. Barcodes detected outside the scan window are ignored.
- [Android] Laid groundwork for Android Gradle Plugin (AGP) 9 compatibility by conditionally applying the
kotlin-androidplugin only on AGP versions below 9, while remaining compatible with older AGP versions.
Bug Fixes
- [Apple] Fixed a race condition in
captureOutputwherelatestBufferwas read on a background thread after being deallocated on the main thread, causing a crash inVTCreateCGImageFromCVPixelBuffer. - [Apple] Fixed an issue where
captureOutputwas being processed on the main thread, causing overheating issues on device. - [Android] Fixed
start()not resuming the camera afterpause(), caused by theisPausedflag being reset before the paused-state check. - [Android] Fixed ProGuard/R8 full mode (default since AGP 8.0) stripping or obfuscating MLKit classes by widening the keep rule to
com.google.mlkit.**.