title: Uncaught TypeError: Cannot read property 'barcodeScanner'
body: <p>I am using barcodescanner.js to scan the qr code. I have the CaptureActivity android library downloaded and attached to my project</p>
  
  <p>But when I call the following code</p>
  
  <pre><code>window.plugins.barcodeScanner.scan(scannerSuccess, scannerFailure);
  </code></pre>
  
  <p>Its giving me an error that</p>
  
  <pre><code> Uncaught TypeError: Cannot read property 'barcodeScanner' of undefined at file:///android_asset/www/html/scan.html:83
  </code></pre>
  
  <p>It was working fine yesterday but giving me an error today. Any thoughts?</p>