Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 392 Bytes

File metadata and controls

17 lines (11 loc) · 392 Bytes

react-native-sunmi-barcode-scanner

Getting started

$ npm install react-native-sunmi-barcode-scanner --save

Mostly automatic installation

$ react-native link react-native-sunmi-barcode-scanner

Usage

import SunmiBarcodeScanner from 'react-native-sunmi-barcode-scanner';

const code = await SunmiBarcodeScanner.scan();
console.log('Received code:', code);