- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo,
I am trying to build my app for Windows Store now. I have discovered 2 issues:
1) Publisher Display Name - it's taken from input filed Author instead of Publisher Display Name - once I had changed Author to what Microsoft store calls "Publisher Display Name", it started to work - so, just to let you know
2) This issue I don't know who to solve. Microsoft says this:
So, I set my App ID as 47717EA4BABCC.Testovotzky. Unfortunately, build fails with message:
CordovaError: App id contains a reserved word, or is not a valid identifier. at D:\Developer\cordova\5.1.1\node_modules\cordova\node_modules\cordova-lib\src\cordova\create.js:106:19 at Promise.apply (D:\Developer\cordova\5.1.1\node_modules\cordova\node_modules\q\q.js:1078:26) at Promise.promise.promiseDispatch (D:\Developer\cordova\5.1.1\node_modules\cordova\node_modules\q\q.js:741:41) at D:\Developer\cordova\5.1.1\node_modules\cordova\node_modules\q\q.js:1304:14 at flush (D:\Developer\cordova\5.1.1\node_modules\cordova\node_modules\q\q.js:108:17) at process._tickCallback (node.js:419:13) at Function.Module.runMain (module.js:499:11) at startup (node.js:119:16) at node.js:906:3
My windows8.xml file has the ID set like this:
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:intelxdk="http://xdk.intel.com/ns/v1" id="47717EA4BABCC.Testovotzky" version="2.0">
Please, could you help me with the solution?
Marek
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cordova 4.1.2 for Windows updates two fields in the appxmanifest file with the package name. Unfortunately the fields have different specifications. The one that is causing the error in your build does not allow the period "." character.
I have put a short term fix in place. Try your build again and it should get past that problem.
Have you followed these steps to get app id? - http://www.html5dev-software.intel.com/amdocs/lib/Intel_Walkthrough_W8Store.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Amrita,
thanks for your response.
1) Build - still I get the error
2) Walkthrough - unfortunately not, I didn't know about the document, I just created my app as I did before. Anyway, it looks like my MS dev site menu looks different - see the attached picture. I am using APP ID, which is stated on MS dev site (it's visible on the picture as well).
Marek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Amrita C. (Intel) wrote:
Cordova 4.1.2 for Windows updates two fields in the appxmanifest file with the package name. Unfortunately the fields have different specifications. The one that is causing the error in your build does not allow the period "." character.
I have put a short term fix in place. Try your build again and it should get past that problem.
Have you followed these steps to get app id? - http://www.html5dev-software.intel.com/amdocs/lib/Intel_Walkthrough_W8St...
I did some more digging and this is what I discovered:
1) The one that is causing the error in your build does not allow the period "." character - it doesn't seem to be correct. When I specify my Android app ID - it is cz.foxtrot.testy - the build works fine
2) I needed to create new Windows app, so I tried to follow the document you mention in your response. The MS dev site is very different - for more details see the attached PDF with screenshots and difference description
Marek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Marek S for providing the mots updated screenshot. I will bring this up. Is your app working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Amrita C. (Intel) wrote:
Thanks Marek S for providing the mots updated screenshot. I will bring this up. Is your app working?
No it's not working - when I specify App ID from MS dev site, the build crashes with the error and when I used any other ID (like cz.foxtrot.testy), the build is OK, but logically MS dev refuses it.
Marek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you verify that you have supplied a product id? This should be located towards the bottom of the project properties tab for Windows 8.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I don't see there any Product ID field - sending my screenshots - both XDK and MS dev.
XDK App ID field is evaluated against MS field Package/Identity/Name - as stated in the MS dev error in my initial message. When I enter the value of the MS field Package/Identity/Name (it is 47717EA4BABCC.Testovotzky) into XDK field App ID, your build server response is:
CordovaError: App id contains a reserved word, or is not a valid identifier.
at D:\Developer\cordova\5.1.1\node_modules\cordova\node_modules\cordova-lib\src\cordova\create.js:106:19
Marek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I meant the publisher id. I apologize for the confusion.
CLI 5.1.1 added more limitations to the app id for all platforms. The check limits the app id to those that work with all platforms That means that an App Id that starts with a number will not work.
I'm actively adding an update to Cordova 5.1.1 to remove this generic check and validate for platform specific formats. I should have this in place soon. I will let you know as soon as I have the fix in place.
In the meantime, this app id should work with CLI 4.1.2.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for the update.
Marek

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page