Jeroen
Jeroen

Reputation: 42

React Native Expo camera uses wide angle

I am using the Expo camera in my React Native application for my web application.

Whenever I open the web application from any browser from my mobile device (Samsung Galaxy S10), it uses a wide-angle camera.

I'd like the webapp to use the "normal" back camera. Is there a way to define this?

<Camera 
 ref={cameraRef}
 style={styles.camera}
 focusDepth='1'
 ratio='4:3'
>

Upvotes: 3

Views: 2406

Answers (1)

TomS
TomS

Reputation: 681

It looks like Expo Camera doesn't support selecting which lens to use. An alternative is to use is react-native-vision-camera

Upvotes: 0

Related Questions