react-native-vision-camera
react-native-vision-camera copied to clipboard
feat: Allow focusing to only AF, AE, or AWB
What
Before:
await camera.current.focus({
x: tapEvent.x,
y: tapEvent.y
})
After:
await camera.current.focus({
point: {
x: tapEvent.x,
y: tapEvent.y
},
modes: ['af', 'ae', 'awb']
})
Changes
Tested on
Related issues
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
react-native-vision-camera | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 27, 2023 4:20pm |