I wanted to use barcode scanning in my App and tried to use the BarcodeScanner BarcodeScanner plugin for PhoneGap (I build a project for iOS).
Since the explanations given are aiming on a previous version of PhoneGap, I have trouble to initialize the plugin. I think it has something to do with the plugin integration in the config.xml file.
Currently I have added the following line:
Beside that I did everthing mentioned in the plugin description.
When trying to scan a specific barcode with:
window.plugins.barcodeScanner.scan()
I receive the following error:
TypeError: 'undefined' is not an object (evaluating 'window.plugins.barcodeScanner')
Thanks for helping me out,
Christoph