Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Ionic 2 app on Windows Phone 10

I developed a Ionic 2 app and I can't find a way to run it on Windows Phone 10 device that is connected to my PC. How can I make it run?

Thanks

like image 703
Cactus Cactus Avatar asked Jul 19 '16 08:07

Cactus Cactus


1 Answers

Have you tried with this:

To build apps for Windows Universal, download and install Visual Studio 2015 Community Edition. During the installation, Select “Tools for Cross Platform Development” as well as the SDK for Windows Universal Apps.

With everything installed, you’ll be able to add a windows platform from the command line with this command:

ionic platform add windows

By default the build command produces two packages: Windows 8.1 and Windows Phone 8.1, which Ionic does not support. To upgrade Windows package to version 10 the following configuration setting must be added to configuration file (config.xml).

<preference name="windows-target-version" value="10.0" />
like image 152
sebaferreras Avatar answered Oct 16 '22 22:10

sebaferreras