I'm trying to use cordova-barcodescanner-plugin in my ionic project compiled with PhoneGap Build.
https://github.com/hypery2k/cordova-barcodescanner-plugin
When i try to use barcode scanner on iOS devices, my app open barcode correctly but doesn't scan (capture) qrcode.
My config.xml declaration is gap:plugin name="cordova-plugin-barcodescanner" source="npm"
and my test code is:
cordova.plugins.barcodeScanner.scan(
function (result) {
if(result.cancelled)
return;
alert(result.text);
},
function (error) {
alert("Error scan");
});
Have you notice of the same problem.