A simple Barcode Reader Screen implemented with [react-native-camera](https://github.com/lwansbrough/react-native-camera).
npm install rn-barcode-readerA simple Barcode Reader Screen implemented with react-native-camera.
Install library
npm install --save barcode-reader
Link native library react-native-camera
```
which rnpm || npm install -g rnpm
rnpm link react-native-camera
Also can link manually
See:
* https://github.com/lwansbrough/react-native-camera#manual-install
`js``
render() {
const styles = this.defaultStyles();
return (
this.camera = cam;
}}
style={styles.preview}
aspect={this.state.camera.aspect}
captureTarget={this.state.camera.captureTarget}
type={this.state.camera.type}
flashMode={this.state.camera.flashMode}
onFocusChanged={() => {}}
onZoomChanged={() => {}}
defaultTouchToFocus
mirrorImage={false}
barcodeFinderVisible={this.state.camera.barcodeFinderVisible}
barcodeFinderWidth={280}
barcodeFinderHeight={220}
barcodeFinderBorderColor="red"
barcodeFinderBorderWidth={2}
onBarCodeRead={this.onBarCodeRead.bind(this)}
/>
Please scan the barcode at the bottom of your receipt.
title='Enter Barcode Manually'>
);
}