var exec = require('cordova/exec');

var PLUGIN_NAME = 'BarcodeScanChainway';

var BarcodeScanChainway = {
  scan: function (cb, error) {
    exec(cb, error, PLUGIN_NAME, 'scan', []);
  }
};
module.exports = BarcodeScanChainway;
