Skip to content

paulobouca/cordova-plugin-point-mobile-85

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Plugin Point Mobile 85

Cordova barcode scanning plugin for Point Mobile devices

Supported Platforms

  • Android

Installation

cordova plugin add cordova-plugin-point-mobile-85

Usage

scan

Bind the device callback event. Each call of the scan function will remove the old callback.

const pointMobile = window.cordova.plugins.pointmobile;

pointMobile.scan(
    data => {
      console.log('## Point Mobile 85 barcode received -> ', data);
      console.log('barcode: ', data.barcode);
      console.log('barcode type: ', data.type);
    },
    error => {
      console.log('## Point Mobile 85 error -> ', error);
    },
);

cancel

Unbind the current callback function returned by scan function.

pointMobile.cancel();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published