Reputation: 1
How to package and upload cordova window phone 8.1 application to window phone store. And will it run for window phone 8 or not ? And what to prefer if we are developing for phones only. windows platform or wp8 platform
Upvotes: 0
Views: 68
Reputation: 121
As @e666 said before, if you are using cordova CLI do build your project, than WP8 platform is deprecated. But, it is simples to package the project without cordova CLI. Just do the following:
*On Visual Studio, select solution configuration as RELEASE;
*Right click your solution and select "Rebuild Solution";
*Go to your project folder/release and select the file named "yourProject.xap".
*Log your account on Windows Development Center and upload the "yourProject.xap" you just created.
*DONE! :)
PS: Windows Phone 8.1 builds wont work for Windows Phone 8. But Windows Phone 8 build will work for 8.1 and 10.
Upvotes: 1
Reputation: 1303
The wp8 platform is deprecated so you should not use it. It will soon be removed from Cordova.
See : https://cordova.apache.org/news/2016/01/28/tools-release.html
According to documentation you can do this command line to build a version only for windows phone 8.1 :
cordova build windows -- --appx=8.1-phone
More infos here : https://cordova.apache.org/docs/en/6.x/guide/platforms/win8/index.html
Upvotes: 0