Use Ionic 2 for Windows Phone / Windows Universal applications?

0

It is a recent question that I have, I want to start development with Ionic , but as my main platform is Windows Phone , I want to know if the framework gives support for compilation for the platform, and how to add this platform in a project and compile for it, I've been searching but did not find anything like it.

And if it is possible to compile for Microsoft platform, what requirements for this can be done, is it possible to do this on a Linux? And how is such an action done?

Error trying to add the Windows platform to the project:

    
asked by anonymous 04.08.2016 / 06:21

1 answer

0

There is a simple way to develop applications with ionic and ionic2.

Q: Cordova needs to be installed, to install on Linux:

sudo apt-add-repository ppa:cordova-ubuntu/ppa
sudo apt-get update
sudo apt-get install cordova-cli
npm install -g cordova
sudo apt-get install cmake debhelper libx11-dev libicu-dev pkg-config qtbase5-dev qtchooser qtdeclarative5-dev qtfeedback5-dev qtlocation5-dev qtmultimedia5-dev qtpim5-dev qtsensors5-dev qtsystems5-dev

1) After creating the project, enter the folder and type:

ionic platform list

It will list the installed and available platforms. 2) Add the platforms

ionic platform add ios
ionic platform add android
ionic platform add windows

3) Update your project's config.xml The iOS and android settings are already done after the add command, for windows insert the lines:

<platform name="winphone" />
<preference name="windows-target-version" value="10.0" />
<preference name="windows-phone-target-version" value="10.0" />
<preference name="Windows.Universal-MinVersion" value="10.0.10069.0" />
<preference name="Windows.Universal-MaxVersionTested" value="10.0.10166.0" />

4) Develop your application according to your Operating System You said you're using Linux, so you're probably developing it for android.

5) Create an link account. This service will auto build for you on the platforms added to your project.

6) Upload your project (zip) on build.phonegap.com or enter the address of your repository in github

7) Have your app builds

8) You will receive the link to download the application directly on your cell phone or else you use to download the file built for the store

9) Follow the steps in the store in question to submit the application

10) End =)

    
08.08.2016 / 21:01