This is a migrated thread and some comments may be shown as answers.

Adjusting an app to work on Windows Phone

2 Answers 26 Views
Windows Phone
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Filip
Top achievements
Rank 1
Filip asked on 09 Apr 2014, 07:05 AM
Hello Telerik,

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

I have started following this tutorial:
http://docs.telerik.com/platform/appbuilder/publishing-your-app/distribute-production/publish-wp8

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.android.js
- 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 Answers, 1 is accepted

Sort by
0
Filip
Top achievements
Rank 1
answered on 09 Apr 2014, 07:59 AM
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.
0
Tina Stancheva
Telerik team
answered on 11 Apr 2014, 04:11 PM
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
Telerik
 

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

 
Tags
Windows Phone
Asked by
Filip
Top achievements
Rank 1
Answers by
Filip
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or