A React native intergation of the Sunmi device built-in barcode scanner, for android only.
Using Yarn
yarn add @developeraspire/react-native-sunmi-barcode-scanner
Using Npm
npm install @developeraspire/react-native-sunmi-barcode-scanner
import 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