cordova.plugins undefined

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    1 posts
    Member since:
    Jun 2014

    Posted 10 Jul 2014 Link to this post

    Hi, 
    I'd like to add the barcodescanner plugin to my project. 
    I checked the plugin in the settings and enabled camera permission but cordova.plugin.barcodescanner is still undefined. After a lot of googleing I added this script http://goo.gl/z1iasb but nothing changed. 
    I think that I'm missing something - but what?

    Daniel
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 10 Jul 2014 Link to this post

    Hello Daniel,

    You can download and examine the BarcodeScanner Sample app we provide and see if the issue can be reproduced there. Also, please note that the BarcodeScanner plugin is not supported within the AppBuilder device simulator as described in the Simulator Limitations article. This means that you will not be able to test the plugin functionality within the simulator. Also, while testing it on a device, you need to make sure that you do so after the deviceready() event was fired.

    If the above information doesn't help, we would appreciate it if you can try to reproduce the issue in the sample project and share the steps we can follow to do that on our side as well. This way we will be able to test the plugin behavior locally and further investigate the case.


    Regards,
    Tina Stancheva
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
Back to Top