Open terry-fei opened 8 years ago
I don't need full screen to scan barcode, just need height 300 and width 100% to show this component. this is my code
<BarcodeScanner onBarCodeRead={this.barcodeReceived} style={{ height: 300, width: screenWidth }} torchMode={this.state.torchMode} cameraType={this.state.cameraType} />
This show correct size, but image was lose their shape.
react-native-barcodescanner v3.0.0
I guess this is a duplicate of #28
I don't need full screen to scan barcode, just need height 300 and width 100% to show this component. this is my code
This show correct size, but image was lose their shape.
react-native-barcodescanner v3.0.0