cordova-barcodescanner-plugin
cordova-barcodescanner-plugin copied to clipboard
Windows Phone 8.1 - Plugin Not Working (Phonegap Build)
Hi,
I've been using the plugin for a while on Android and iOS and the plugin has worked brilliantly. However I have noticed on Windows the scanner just doesn't work. The scanner does not appear and literally does nothing.. I have a onclick method which produces the scanner and uses the following:
cordova.plugins.barcodeScanner.scan( function (result) { alert("We got a barcode\n" + "Result: " + result.text) //"Format: " + result.format + "\n" + //"Cancelled: " + result.cancelled) {dialog.Object}.setValue('QRCode', result.text); }, function (error) { alert("Scanning failed: " + error); } );
Could anyone help?
sorry, but cannot investigate as i don't have a Windows 8 device anymore