$ npm install react-native-gzdsx-barcodeview --save
or
$ yarn add react-native-gzdsx-barcodeview
$ npx pod-install
import BarcodeView from 'react-native-barcode-view';
const App = () => {
return (
<BarcodeView
onRead={e => {
console.log(e.nativeEvent);
}}
/>
)
}
// TODO: What to do with the module?
BarcodeView;