Open joaoalbertocsjunior opened 6 years ago
Thanks for the great lib, @ekreutz.
I have this issue in my emulator too. I'm running a virtual device in my AVD: 720x1280. API 22. Android 5.1. x86
.
This is what I see using cameraFillMode={CameraFillMode.COVER}
And this is what it looks like with cameraFillMode={CameraFillMode.FIT}
I pass dimensions of the window to the style props like this:
const { width, height } = Dimensions.get('window');
return (
<BarcodeScanner
style={{ width, height }}
onException={this.handleException}
onBarCodeRead={this.handleBarcodeRead}
cameraFillMode={CameraFillMode.COVER}
barcodeType={BarcodeType.EAN_13}
/>
)
i've the same problem, any solution?
Hello guys, the camera view fits in mobiles but its not fully fit in some tablet. any solution?
Hi! I'am following the example on the readme section, and camera doesnt seem to get fullscreen on physical device, even with style flex: 1.
Here is the code:
What could this be related to?