Barcode Plugin fail (undefined) after update to Cordova 3.2 (Android and iOS)

2 posts, 0 answers
  1. Vitor de Paula
    Vitor de Paula avatar
    6 posts
    Member since:
    May 2010

    Posted 02 Jan 2014 Link to this post

    I Have a project that is using Barcode Plugin and Cordova 3.0 and is running ok on android and iOS.

    After i upgrade to Cordova 3.2, because ION tell me to do that, the Barcode PLugin fail on andoid and iOS.

                    function (result) {
                        if (!result.cancelled) {
                    function (error) {
  2. Steve
    Steve avatar
    10941 posts

    Posted 03 Jan 2014 Link to this post

    Hi Vitor,

    The BarcodeScanner plugin has been updated to a new version that works with Cordova 3.2. You would need to delete your BarcodeScanner plugin from the app's Plugin folder as a first step, then navigate to the project properties and enable the BarcodeScanner plugin from there. You should also replace window.plugins.barcodeScanner with cordova.plugins.barcodeScanner and you should be done.

    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top