Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Listen for scan events inside Dryrain Technologies' Enterprise Browser app.

Notifications You must be signed in to change notification settings

goodeggs/dryrain-barcode-scan-listener

Repository files navigation

Dryrain Technologies Barcode Scan Listener

Build Status

Listen for scan events inside Dryrain Technologies' Enterprise Browser iOS app. API documentation is not publicly available. See http://dryraintechnologies.com.

Installation

To install via npm:

npm install dryrain-barcode-scan-listener

To install via yarn:

yarn add dryrain-barcode-scan-listener

Usage

import createDryrainBarcodeScanListener from 'dryrain-barcode-scan-listener';

// Now, scanning a barcode 'L%123abc' will log 'L%123abc'
const removeScanListener = createDryrainBarcodeScanListener({
  onScan: (barcode) => console.log(barcode),
});

// To remove the scan listener:
removeScanListener();

About

Listen for scan events inside Dryrain Technologies' Enterprise Browser app.

Resources

Stars

Watchers

Forks

Packages

No packages published