I’m scanning vehicle VIN tags and sometimes it scans right away other times not at all. When it does scan it usually it takes about 10 to 20 seconds to recognize a VIN. I’ve tried both the BarCodeScanner and Camera components.
I’m on Expo 32 with the following settings:
<Camera
style={styles.camera}
type={‘back’}
useCamera2Api={true}
whiteBalance={this.state.whiteBalance}
flashMode={this.state.torch}
barCodeScannerSettings={{
barCodeTypes: [
BarCodeScanner.Constants.BarCodeType.qr,
BarCodeScanner.Constants.BarCodeType.code39
]
}}
onBarCodeScanned={this.onBarCodeScanned}
videoStabilizationMode={Camera.Constants.VideoStabilization.off}
/>
Any suggestions are greatly appreciated, I’m getting desperate. The app we’re building is focused entirely on this feature but it’s unusable. Getting worried that I’ll have to eject and rebuild the whole thing.