Google mlkit based barcode-qr code scanner
npm install react-native-mlkit-barcode
import { MlkitBarcodeView, BARCODE } from "react-native-mlkit-barcode";
// ...
<MlkitBarcodeView
style={{width:800, height:800}}
enableScanner={this.state.enableScanner}
barcodeFormat={BARCODE.FORMAT_ALL_FORMATS}
onSuccess={(data) => {
console.log("BarCode On Success :", data);
this.setState({enableScanner:false})
}}
/>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library