cordova-panasonic-scanner

0.0.6 • Public • Published

Information

This is a cordova plugin to use the Laser Barcode Scanner of Panasonic handhelds. Suported and tested devices:

  • A Panasonic toughpad FZ-F1 running the Universal Windows Platform (Windows 10)
  • A Panasonic toughpad FZ-X1 running Android 4.2.2

How to use

Activate the scanner and pass the success and error callback functions:

cordova.plugins.PanasonicScanner.activate({}, function(result) {
// each scan will trigger this callback function
}, function(error) {
// catch error on activation
});

On windows you'll need to add this to your project:

document.addEventListener("resume",this.activatePanasonicScanner, false);

Assuming that "activatePanasonicScanner" is the function where you activate the scanner.

License

Copyright 2017 Wouter Lemaire

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i cordova-panasonic-scanner

Weekly Downloads

3

Version

0.0.6

License

MIT

Last publish

Collaborators

  • lemaiwo