Skip to content

Release 3.7.0

Compare
Choose a tag to compare
@mrousavy mrousavy released this 08 Jan 12:27
· 204 commits to main since this release
de9da64

3.7.0 (2024-01-08)

Quite a big release again! 🥳

Notable changes:

  1. If you use the CodeScanner API, make sure to use the new VisionCamera_enableCodeScanner flag for Android which makes sure the MLKit model always gets bundled! (see the docs) 🕵️
  2. A ton of blackscreen and out of sync issues have been fixed on Android. See this PR.

✨ Features

  • Add new enableCodeScanner prop to build.gradle to make sure CodeScanner always works (#2355) (5c99728)
  • Make enableCodeScanner expo config-plugin install the native dependency (#2348) (a8c16e3)
  • Make Frame thread-safe and improve error messages (#2327) (895f3ec)
  • Add two new format/ errors: invalid-video-stabilization-mode and format-required (#2354) (cc60ad2)
  • Support 60 FPS on Samsung devices (if available) (#2339) (0d21bc3)

🐛 Bug Fixes

  • Fix blackscreen issues and lifecycle when closing Camera (#2339) (0d21bc3)
  • Fix a scenario where the concurrent configure { ... } mechanism could drop important updates (#2339) (0d21bc3)
  • Fix Android lifecycle by allowing Android to close the CameraDevice when isActive=false (#2339) (0d21bc3)
  • Fix Android blackscreens by refactoring CameraSession setup (#2339) (0d21bc3)
  • Fix "photo/video is not enabled" errors (#2339) (0d21bc3)
  • Fix "maxImages (3) has already been acquired" error (#2352) (2cd22ad)
  • Fix "The given value for videoStabilizationMode could not be parsed" error (#2353) (833ffb8)
  • Fix crash when trying to console.log(frame) (#2335) (3dc7511)
  • Fix for inset of SENSOR_INFO_ACTIVE_ARRAY_SIZE for Android < 11 (#2306) (7905f2c)
  • Fix iOS native enableZoomGesture zoom logic (#2329) (30c4f9e)
  • Fix min/max exposure range on Android (#2304) (0d3ecd1)
  • Unwrap boxed JNI types directly (#2337) (ef4e9fa)
  • Validate input props (fps, hdr, torch, ...) instead of silently crashing (#2354) (cc60ad2)

💨 Performance Improvements

  • Make getCameraPermission and getMicrophonePermission synchronous (#2302) (591cf30)
  • Don't re-create anything if session is closing down (#2339) (0d21bc3)

📚 Documentation

  • Add plugin by mgcrea/vision-camera-barcode-scanner (7241342)
  • Create pinch-to-zoom example for docs (2d84b7f)