IOS PhoneGap 1.7.0 + Barcode Scanning Plugin issue

barcode-scannercordovaiosphonegap-plugins

Has anyone managed to get the BarcodeScanning plugin for PhoneGap to work on PhoneGap 1.7.0?

Barcode Scanning plugin: https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner

The issues is that the plugin is not getting set when its added..

I get the following when I call "alert(window.plugins.barcodeScanner);"

"undefined"

I am trying to isolate the point where the plugin is failing to get added and will update the question once I know more..

Thanks in advance for anyone who can help…


Updated answer below:

Best Answer

Excellent,

The plugin now works again.
One issue is the documentation for the plugin still says the key in Cordova.plist should be org.apache.cordova.barcodeScanner but obvious thing now it should be com.cordova.barcodeScanner.

Related Topic