Skip to content

v7.2.1

Choose a tag to compare

@juliansteenbakker juliansteenbakker released this 14 Jul 20:48
· 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.cameraResolution as 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-android plugin only on AGP versions below 9, while remaining compatible with older AGP versions.

Bug Fixes

  • [Apple] Fixed a race condition in captureOutput where latestBuffer was read on a background thread after being deallocated on the main thread, causing a crash in VTCreateCGImageFromCVPixelBuffer.
  • [Apple] Fixed an issue where captureOutput was being processed on the main thread, causing overheating issues on device.
  • [Android] Fixed start() not resuming the camera after pause(), caused by the isPaused flag 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.**.