v4.0.0-beta.4
版本发布时间: 2024-03-01 23:30:05
mrousavy/react-native-vision-camera最新发布版本:v4.5.3(2024-09-08 18:42:23)
4.0.0-beta.4 (2024-03-01)
✨ Features
- Add
androidPreviewViewType
prop (dd56925) - Add
cancelRecording
(f51921b) - Add
onShutter
event (dd49365) - Add
takeSnapshot()
toPreviewView
(e17eb50) - Add CodeScanner pipeline (
ImageAnalysis
) (08d86d4) - Allow setting custom format in ImageWriter (d0eb702)
- Give V4 🫴 (dd4c8fb)
- Implement native HardwareBuffer rendering for
VideoPipeline
(00155c9) - Properly get orientation and isMirrored in FP (a4a78e9)
- Shutter sound and stabilization (7b46390)
- Upload .apk as a GitHub artifact (#2575) (2c976d8)
- Use CameraX for device details (#2624) (54997a2)
- Use HDR or NIGHT extensions if available (b9a0434)
🐛 Bug Fixes
- Cancel focus on session close (#2578) (9af6e61)
- Capture directly in lambda (c741c90)
- Check for ImageAnalysis support (cb2f1c3)
- Fix "Unknown AF/AE/AWB State" error (#2592) (fabf019)
- Fix
Precapture timed out after 5 seconds
error (#2586) (369cb4a) - Fix Boolean.parse string values from gradle properties (#2599) (bca9472)
- Fix focus not running on UI Thread (e4a5fe3)
- Fix Frame Processor SIGSEV crash in
VisionCameraScheduler::trigger
by locking mutex indispatchAsync
(#2591) (55992bb) - Fix optional delegate (c6e55ac)
- Fix transform matrix (fd1b118)
- Implement
takeSnaphot
on iOS (a638b66) - Properly close
ImageWriter
(f36d304) - Rename to
qualityBalance
(e135b3b) - Trigger
measure
andlayout
manually in PreviewView (#2588) (7ac6f4d) - Use
0x0
as a fallback Size ifSENSOR_INFO_PHYSICAL_SIZE
is null (e.g. on USB cameras) (#2608) (e8dd1e0) - Use image transformation info from input surface (0a415f3)
- Use runOnUiThread only if needed (d8dbd53)