Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 591 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 591 Bytes

react-native-pda-scan

Getting started

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

Mostly automatic installation

$ react-native link react-native-pda-scan

Supported

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

Usage

import usePdaScan from "react-native-pda-scan";
usePdaScan({
    onEvent(e) {
        console.log(333);
        console.log(e);
    },
    onError(e) {
        console.log(666);
        console.log(e);
    },
    trigger: "always",
  });