I am still facing same issue like in SDK 50 in expo-camera package. I am using expo-camera for scanning QR codes and in global it works prett well, but when someone comes with small phone or QR code is print on small paper scanner cannot focus the area like on normal camera. For example on iPhone it’s called Macro mode.
I read that upgrade to SDK 51 should solve this problem as well.
Here is my settings for CameraView
<code><CameraView
enableTorch={flashlight}
style={$fullScreen}
facing="back"
barcodeScannerSettings={{
barcodeTypes: ['qr'],
}}
onBarcodeScanned={handleBarCodeScanned}
>
</code>
<code><CameraView
enableTorch={flashlight}
style={$fullScreen}
facing="back"
barcodeScannerSettings={{
barcodeTypes: ['qr'],
}}
onBarcodeScanned={handleBarCodeScanned}
>
</code>
<CameraView
enableTorch={flashlight}
style={$fullScreen}
facing="back"
barcodeScannerSettings={{
barcodeTypes: ['qr'],
}}
onBarcodeScanned={handleBarCodeScanned}
>
Here are screenshot from normal camera
and app camera Expo Go (development mode)
is there any solution for this? I am also ok to focus on tap screen but it also doesn’t work. :/