Is there a way to not have android camera stretched?

expo-camera": 12.2.0
expo: 45
Android 11

            <Camera style={} 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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.