I'm trying to use the BarcodeScanner plugin for Cordova in a BlackBerry device without luck. The sample code makes use of this structure:
window.plugins.BarcodeScanner...
but window.plugins
is undefined
.
I tried with a fresh new application and window.plugins
continues to be undefined
(I mean, the sample application without any addition).
Did the api have changed and the documentation is outdated or there's something I'm missing?
Thanks!