I am trying to implement use of ultra wide camera on iphone 12 with react native vision camera but can't get camera to show ultra wide like it does on phone camera when select 0.5x zoom. This is camera data:
{
"devices": [
"ultra-wide-angle-camera",
"wide-angle-camera"
],
"hasFlash": true,
"hasTorch": true,
"id": "com.apple.avfoundation.avcapturedevice.built-in_video:6",
"isMultiCam": true,
"maxZoom": 123.75,
"minZoom": 1,
"name": "Back Dual Wide Camera",
"neutralZoom": 2,
"position": "back",
"supportsDepthCapture": false,
"supportsFocus": true,
"supportsLowLightBoost": false,
"supportsParallelVideoProcessing": true,
"supportsRawCapture": false
}
This is my code: const devices = useCameraDevices("ultra-wide-angle-camera"); const device = devices.back;
<Camera enableZoomGesture style={StyleSheet.absoluteFill} device={device} isActive={true}/>
It just shows normal camera zoom and if i zoom out max I don't get that ultra wide view. i don't know what I am missing?