简体   繁体   中英

cordova and windows phone 8.1

I am developing crossplatform application with native plugins using ionic. It is important to me to have wp subproject targeted to (windows phone 8.1), no silverlight. Unfortunately

cordova platform add wp8

creates project targeted to (windows phone 8.0).

I trying to avoid changing target manually. Any ideas?

See this article: https://msopentech.com/blog/2014/09/25/apache-cordova-gains-windows-8-1-and-windows-phone-8-1-support-2-2/

You should use cordova platform add windows (and have a not too old Cordova version)

First update your Cordova to latest version

npm update -g cordova

Add windows platform

cordova platform add windows

命令行界面

在 Visual Studio 中打开项目

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM