Adjusting an app to work on Windows Phone

Thread is closed for posting
3 posts, 0 answers
  1. Filip
    Filip avatar
    35 posts
    Member since:
    Jul 2013

    Posted 09 Apr 2014 Link to this post

    Hello Telerik,

    I need to adjust an existing App so it also works on Windows phone. 

    I have started following this tutorial:

    However, I cannot build an app for WP8, as it was developed with an older version of Cordova.

    What is the best way to update cordova version?
    Currently, I have only 
    - cordova.ios.js

    Looking at the cordova website, I couldnt find an appropriate .js that I could add.

    Or do I need to make a new project?

  2. Filip
    Filip avatar
    35 posts
    Member since:
    Jul 2013

    Posted 09 Apr 2014 in reply to Filip Link to this post

    Please disregard my question:

    The way to do it is 

    -right click on project on in project explorer, choose properties
    -set the cordova version to 3.0.0 at least

    I hope it will not make problems with the plugins I am using - barcode scanner, childbrowser und sqlite.
  3. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 11 Apr 2014 Link to this post

    Hello Filip,

    I am glad to see you found the Cordova version setting and changed it to work for you. Once you change the Cordova version, if you're using the Apache Cordova core and integrated PlugIns, their versions will be updated accordingly. Since you shared the PlugIns you're using I only want to note a few things to have in mind:
    • Starting with BarcodeScanner 1.1.0 (Cordova v. 3.2.0), you need to make sure that all calls to the plugin are using the following syntax: cordova.plugins.barcodeScanner
    • The ChildBrowser plugin is deprecated and we highly recommend using the built-in Apache Cordova InAppBrowser API instead.

    I hope this information helps.

    Regards, Tina Stancheva

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

Back to Top