Cordova cannot release application to Windows Phone Store -


thorough search of site did find question (from different user) there no answers ask myself:

background: using apache cordova 4.x , visual studio 2013 (all latest updates). made apps - work fine on android , other platforms - deployed windows phone 8.1. uploaded bundle phone store , there problem packaged application id not matching store expects.

details: problem store named app (reserved previously) "12345myname.appname" in config.xml app id "com.myname.appname". renaming widget id or appid or package id 12345myname.appname" fails because of this: error 48 file content not conform specified schema. 'id' attribute invalid ... 'http://schemas.microsoft.com/appx/2010/manifest:st_applicationid' ...

i know error i've exhausted possible means around (create.js cordova has right regex - no need change it, dropping appx manifests in res/native/windows, directly editing appx manifests, using additional config files, etc...) nothing works. must missing absolutely obvious.

the vs:platformspecific settings contain correct store publisher id , appid somehow not been used build package, assume post-build examination of manifests show incorrect store id on package if override on custom manifest (custom manifest gets ignored upon repackaging bundle)

can provide insights? starting sound there wrong either cordova or vs building bundle presume problem me , not doing.

well, after quite serious headache simple (in end) did find answer problem. exact answer can found right here (http://www.spdoctor.net/pages/article.aspx?name=using-visual-studio-tools-for-apache-cordova) , credit goes article - many thanks!

in short... after build universal solution (wp8, wp8.1 , windows 8.1) go bld/release/platform/windows folder , find "cordova.sln" visual studio solution. open in visual studio (ignore own solution now, open 1 separately) , see shared universal project containing 3 target windows platforms.

each project target has manifest file. double click open in design mode (do 3 manifests) , go packaging tab, native app. in there, change name of application id proper store id (12345you.yourapp).

then use visual studio (right-click 1 of 3 projects, instance windows phone 8.1) , select store option associate , create packages store - create bundle package , upload store. problem solved and, not mess own project if have android or ios target well.

as author points out, there bugs @ play here cordova 4.x , vs ctp 3.1 seems way fix now. had installed intel xdk , had app built there :) 1 step away entirely giving up...

really, documented bit better well, don't want complain... totally new cordova may have totally missed obvious explanation somewhere... ctp/beta give pass...


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -