yarn react-native-vision-camera 3.4.0
Release 3.4.0

latest releases: 4.6.1, 4.6.0, 4.5.3...
13 months ago

3.4.0 (2023-10-16)

Woohoo, another VisionCamera release! ✨ Highlights:

  • VisionCamera 3.4.0 features an all new atomic locking Core/ implementation on iOS.
    Previously, the Camera Device would be locked, configured, and unlocked again for every prop you set (device, format, hdr, fps, ...), which would obviously cost a lot of time. 👎
    Now, VisionCamera batches all of those calls under a single configure(...) call, effectively locking the Camera Device only once, which makes VisionCamera up 7x faster! 🥳 (see #1975 for more details)

    VisionCamera_V3_speedup.mov
  • On Android, the performance of the CodeScanner has also been improved by a lot and a stalling issue has been fixed.

  • Additionally, 3.4.0 fixes a few other small issues related to torch, orientation, memory cleaning and navigation.

Important
3.4.0 now requires 🔧 Xcode 15 or higher.

✨ Features

🐛 Bug Fixes

  • Fix CodeScanner stalling on Android 🥳 (#2009) (e8ae11e)
  • Also close outputs in destroy() (10a44d5)
  • Always call CaptureSession fully synchronously under Mutex (#1972) (18b30cd)
  • Catch errors in CaptureSession configuration (18e6926)
  • Close CameraSession in onDetachedFromWindow() (#1962) (02726d4)
  • Close previous Outputs to free memory (727fb39)
  • Fix focus() on iOS (#1943) (a4448c3)
  • Fix basic Orientation on iOS (#2000) (ea98112)
  • Fix FpsGraph not updating (315fcb6)
  • Fix PreviewView overflowing on Android (#2001) (fab5bdc)
  • Fix torch not turning off after it has been enabled (#1997) (62ca957)
  • Remove Frame Processor when Camera unmounts (#1960) (d51ac15)
  • Run CodeScanner on default queue, fix stalling (#2002) (e8df714)

📚 Documentation

Don't miss a new react-native-vision-camera release

NewReleases is sending notifications on new releases.