1.0.2 • Published 6 years ago

cordova-honeywell-scanner-plugin v1.0.2

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

cordova-honeywell-scanner-plugin

Cordova Plugin to receive input from a Honeywell scanners (CT50, D75E, EDA50-111, others?).

Device Setup

  • No special device setup is required.

Usage

This plugin uses the setKeepCallback feature of the PluginResult so that you don't have to continually register to listen for scans. Wire up an scan event listener like this:

plugins.honeywell.listenForScans(function(data) {
  // do something with 'data'
    console.log('You scanned: ' + data);
  });

Subsequent calls to listenForScans will replace the previously set callbacks.