A React native intergation of the Sunmi device built-in barcode scanner, for android only.
Using Yarn
yarn add @developeraspire/react-native-sunmi-barcode-scannerUsing Npm
npm install @developeraspire/react-native-sunmi-barcode-scannerimport SunmiBarcodeScanner from '@developeraspire/react-native-sunmi-barcode-scanner';
const scannedCode = await SunmiBarcodeScanner.startScanner();
console.log("Scanned Code:" scannedCode)See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Created by Franklin Okolie