expo-camera": 12.2.0
expo: 45
Android 11
<Camera style={styles.camera} type={type} ref={cameraRef} ratio="4:3"/>
camera: {
flex: 1
}
What I want is for the the camera preview to not be stretched. I’m locking the orientation to landscape if that makes a difference. As an example, when I use expo barcode scanner the preview is not stretched.
I have checked
const ratios = await cameraRef.current.getSupportedRatiosAsync()
and 4:3 is supported