react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

feat: Allow focusing to only AF, AE, or AWB

Open mrousavy opened this issue 7 months ago • 1 comments

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

mrousavy avatar Nov 19 '23 14:11 mrousavy

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

vercel[bot] avatar Nov 19 '23 14:11 vercel[bot]