i implemented react-native-vision-camera on my project and it works on android, but when i want to test it on iOS, app is crashing when i open the camera(i am using a real device not emulator)
{ supportsFocus: true,
hasFlash: true,
position: 'back',
minZoom: 1,
maxZoom: 16,
minFocusDistance: 12,
minExposure: -8,
isMultiCam: false,
sensorOrientation: 'portrait',
formats:
[ { minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 144,
videoWidth: 192,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 4032,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 144,
videoWidth: 192,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 4032,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 288,
videoWidth: 352,
autoFocusSystem: 'phase-detection',
fieldOfView: 60.320228576660156,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 3696,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 288,
videoWidth: 352,
autoFocusSystem: 'phase-detection',
fieldOfView: 60.320228576660156,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 3696,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 360,
videoWidth: 480,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 4032,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 360,
videoWidth: 480,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 4032,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 480,
videoWidth: 640,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 4032,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 3024,
videoHeight: 480,
videoWidth: 640,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 4032,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 1512,
videoHeight: 480,
videoWidth: 640,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 2016,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 1512,
videoHeight: 480,
videoWidth: 640,
autoFocusSystem: 'phase-detection',
fieldOfView: 64.74187469482422,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'off' ],
photoWidth: 2016,
maxISO: 3072 },
{ minFps: 1,
minISO: 32,
photoHeight: 2384,
videoHeight: 540,
videoWidth: 960,
autoFocusSystem: 'phase-detection',
fieldOfView: 69.65403747558594,
supportsPhotoHdr: false,
supportsDepthCapture: false,
supportsVideoHdr: false,
maxFps: 60,
videoStabilizationModes: [ 'auto', 'cinematic', 'off', 'standard', 'cinematic-extended' ],
photoWidth: 4224,
maxISO: [TOO BIG formatValueCalls 201 exceeded limit of 200] },
[TOO BIG formatValueCalls 202 exceeded limit of 200],
[TOO BIG formatValueCalls 203 exceeded limit of 200],
[TOO BIG formatValueCalls 204 exceeded limit of 200],
[TOO BIG formatValueCalls 205 exceeded limit of 200],
[TOO BIG formatValueCalls 206 exceeded limit of 200],
[TOO BIG formatValueCalls 207 exceeded limit of 200],
[TOO BIG formatValueCalls 208 exceeded limit of 200],
[TOO BIG formatValueCalls 209 exceeded limit of 200],
[TOO BIG formatValueCalls 210 exceeded limit of 200],
[TOO BIG formatValueCalls 211 exceeded limit of 200],
[TOO BIG formatValueCalls 212 exceeded limit of 200],
[TOO BIG formatValueCalls 213 exceeded limit of 200],
[TOO BIG formatValueCalls 214 exceeded limit of 200],
[TOO BIG formatValueCalls 215 exceeded limit of 200],
[TOO BIG formatValueCalls 216 exceeded limit of 200],
[TOO BIG formatValueCalls 217 exceeded limit of 200],
[TOO BIG formatValueCalls 218 exceeded limit of 200],
[TOO BIG formatValueCalls 219 exceeded limit of 200],
[TOO BIG formatValueCalls 220 exceeded limit of 200],
[TOO BIG formatValueCalls 221 exceeded limit of 200],
[TOO BIG formatValueCalls 222 exceeded limit of 200],
[TOO BIG formatValueCalls 223 exceeded limit of 200],
[TOO BIG formatValueCalls 224 exceeded limit of 200],
[TOO BIG formatValueCalls 225 exceeded limit of 200],
[TOO BIG formatValueCalls 226 exceeded limit of 200],
[TOO BIG formatValueCalls 227 exceeded limit of 200],
[TOO BIG formatValueCalls 228 exceeded limit of 200],
[TOO BIG formatValueCalls 229 exceeded limit of 200],
[TOO BIG formatValueCalls 230 exceeded limit of 200],
[TOO BIG formatValueCalls 231 exceeded limit of 200],
[TOO BIG formatValueCalls 232 exceeded limit of 200],
[TOO BIG formatValueCalls 233 exceeded limit of 200],
[TOO BIG formatValueCalls 234 exceeded limit of 200],
[TOO BIG formatValueCalls 235 exceeded limit of 200],
[TOO BIG formatValueCalls 236 exceeded limit of 200],
[TOO BIG formatValueCalls 237 exceeded limit of 200],
[TOO BIG formatValueCalls 238 exceeded limit of 200] ],
hasTorch: [TOO BIG formatValueCalls 239 exceeded limit of 200],
id: [TOO BIG formatValueCalls 240 exceeded limit of 200],
name: [TOO BIG formatValueCalls 241 exceeded limit of 200],
supportsRawCapture: [TOO BIG formatValueCalls 242 exceeded limit of 200],
neutralZoom: [TOO BIG formatValueCalls 243 exceeded limit of 200],
supportsLowLightBoost: [TOO BIG formatValueCalls 244 exceeded limit of 200],
maxExposure: [TOO BIG formatValueCalls 245 exceeded limit of 200],
hardwareLevel: [TOO BIG formatValueCalls 246 exceeded limit of 200],
physicalDevices: [TOO BIG formatValueCalls 247 exceeded limit of 200] }, 'Device'
What's happening?
i implemented react-native-vision-camera on my project and it works on android, but when i want to test it on iOS, app is crashing when i open the camera(i am using a real device not emulator)
Reproduceable Code
Relevant log output
Camera Device
{ supportsFocus: true, hasFlash: true, position: 'back', minZoom: 1, maxZoom: 16, minFocusDistance: 12, minExposure: -8, isMultiCam: false, sensorOrientation: 'portrait', formats: [ { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 144, videoWidth: 192, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 4032, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 144, videoWidth: 192, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 4032, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 288, videoWidth: 352, autoFocusSystem: 'phase-detection', fieldOfView: 60.320228576660156, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 3696, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 288, videoWidth: 352, autoFocusSystem: 'phase-detection', fieldOfView: 60.320228576660156, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 3696, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 360, videoWidth: 480, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 4032, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 360, videoWidth: 480, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 4032, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 480, videoWidth: 640, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 4032, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 3024, videoHeight: 480, videoWidth: 640, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 4032, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 1512, videoHeight: 480, videoWidth: 640, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 2016, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 1512, videoHeight: 480, videoWidth: 640, autoFocusSystem: 'phase-detection', fieldOfView: 64.74187469482422, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'off' ], photoWidth: 2016, maxISO: 3072 }, { minFps: 1, minISO: 32, photoHeight: 2384, videoHeight: 540, videoWidth: 960, autoFocusSystem: 'phase-detection', fieldOfView: 69.65403747558594, supportsPhotoHdr: false, supportsDepthCapture: false, supportsVideoHdr: false, maxFps: 60, videoStabilizationModes: [ 'auto', 'cinematic', 'off', 'standard', 'cinematic-extended' ], photoWidth: 4224, maxISO: [TOO BIG formatValueCalls 201 exceeded limit of 200] }, [TOO BIG formatValueCalls 202 exceeded limit of 200], [TOO BIG formatValueCalls 203 exceeded limit of 200], [TOO BIG formatValueCalls 204 exceeded limit of 200], [TOO BIG formatValueCalls 205 exceeded limit of 200], [TOO BIG formatValueCalls 206 exceeded limit of 200], [TOO BIG formatValueCalls 207 exceeded limit of 200], [TOO BIG formatValueCalls 208 exceeded limit of 200], [TOO BIG formatValueCalls 209 exceeded limit of 200], [TOO BIG formatValueCalls 210 exceeded limit of 200], [TOO BIG formatValueCalls 211 exceeded limit of 200], [TOO BIG formatValueCalls 212 exceeded limit of 200], [TOO BIG formatValueCalls 213 exceeded limit of 200], [TOO BIG formatValueCalls 214 exceeded limit of 200], [TOO BIG formatValueCalls 215 exceeded limit of 200], [TOO BIG formatValueCalls 216 exceeded limit of 200], [TOO BIG formatValueCalls 217 exceeded limit of 200], [TOO BIG formatValueCalls 218 exceeded limit of 200], [TOO BIG formatValueCalls 219 exceeded limit of 200], [TOO BIG formatValueCalls 220 exceeded limit of 200], [TOO BIG formatValueCalls 221 exceeded limit of 200], [TOO BIG formatValueCalls 222 exceeded limit of 200], [TOO BIG formatValueCalls 223 exceeded limit of 200], [TOO BIG formatValueCalls 224 exceeded limit of 200], [TOO BIG formatValueCalls 225 exceeded limit of 200], [TOO BIG formatValueCalls 226 exceeded limit of 200], [TOO BIG formatValueCalls 227 exceeded limit of 200], [TOO BIG formatValueCalls 228 exceeded limit of 200], [TOO BIG formatValueCalls 229 exceeded limit of 200], [TOO BIG formatValueCalls 230 exceeded limit of 200], [TOO BIG formatValueCalls 231 exceeded limit of 200], [TOO BIG formatValueCalls 232 exceeded limit of 200], [TOO BIG formatValueCalls 233 exceeded limit of 200], [TOO BIG formatValueCalls 234 exceeded limit of 200], [TOO BIG formatValueCalls 235 exceeded limit of 200], [TOO BIG formatValueCalls 236 exceeded limit of 200], [TOO BIG formatValueCalls 237 exceeded limit of 200], [TOO BIG formatValueCalls 238 exceeded limit of 200] ], hasTorch: [TOO BIG formatValueCalls 239 exceeded limit of 200], id: [TOO BIG formatValueCalls 240 exceeded limit of 200], name: [TOO BIG formatValueCalls 241 exceeded limit of 200], supportsRawCapture: [TOO BIG formatValueCalls 242 exceeded limit of 200], neutralZoom: [TOO BIG formatValueCalls 243 exceeded limit of 200], supportsLowLightBoost: [TOO BIG formatValueCalls 244 exceeded limit of 200], maxExposure: [TOO BIG formatValueCalls 245 exceeded limit of 200], hardwareLevel: [TOO BIG formatValueCalls 246 exceeded limit of 200], physicalDevices: [TOO BIG formatValueCalls 247 exceeded limit of 200] }, 'Device'Device
iphone 11 (ios 17.6.1)
VisionCamera Version
4.7.2
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information