react-native-jgpda-scan

1.0.5 • Public • Published

react-native-jgpda-scan

Getting started

$ npm install react-native-jgpda-scan --save

Mostly automatic installation

$ react-native link react-native-jgpda-scan

Supported

  • [x] SEUIC(小码哥)-PDA
  • [x] IData(盈达聚力)-PDA
  • [x] UROVO(优博讯)-PDA
  • [x] HONEYWELL(霍尼韦尔)-PDA
  • [x] PL(攀凌)-PDA
  • [x] HT(捷宝)-PDA

Usage

import usePdaScan from "react-native-jgpda-scan";

const { code, error } = usePdaScan(
  {
   (code) => {
    console.log(code);
  },
  (error) => {
    console.log(error);
  },
  trigger:"always"  //always: An event is triggered each time the code is scanned。 change:Events are triggered when changes occur
  }

);

Readme

Keywords

Package Sidebar

Install

npm i react-native-jgpda-scan

Weekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

15.9 kB

Total Files

9

Last publish

Collaborators

  • weizhishu1901