Commit a278f8bf by Oscar Fuentes

Fix tag name

parent 1459b68b
......@@ -28,7 +28,7 @@ public class BarcodeScanChainway extends CordovaPlugin {
String device = args.get(0).toString();
if (action.equalsIgnoreCase("scan") && device.equalsIgnoreCase("scanner")) {
PluginHelper.scan(cordova, webView, args, callbackContext);
} else if (action.equalsIgnoreCase("scan") && device.equalsIgnoreCase("movile")) {
} else if (action.equalsIgnoreCase("scan") && device.equalsIgnoreCase("mobile")) {
BarcodeScanner barcodeScanner = new BarcodeScanner();
barcodeScanner.scan(args);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment