Quantcast
Viewing all articles
Browse latest Browse all 6402

React-native-vision-camera can't access to normal camera in back

i am trying to use 'normal' camera on my iphone 11 pro.I use react-native-vision-camera.When i run this code:

  const devices = useCameraDevices();  const deviceBack = devices.back;  console.log(deviceBack?.devices)

I get only 2 cameras : ["ultra-wide-angle-camera", "wide-angle-camera"], I don't want a wide camera, I want to access to my normal camera, how to do it ?
Thanks.


Viewing all articles
Browse latest Browse all 6402

Trending Articles