Visual Studio 2015 Cordova Windows 10 > Blank/white screen after associated with the existing windows store app -


without associating app store, can run , debug cordova app on devices (all works fine). after associating app store (or after built package store), app starts , white screen, no errors in visual studio!

i have installed update 3 , tried run in release mode, no success. no errors occur.

i use: - visual studio 2015 update 3 - node version 4.5.0 - cordova version 6.3.1 - , release app windows 10

========================

i found out package name changed after assocating store. changed package name @ start page option new 1 in appxmanifest.

after app starts , see page, many errors, cant interact now.

here errors:

  • javascript runtime error: 'windows' undefined cordova.js (1559,13)
  • deviceready has not fired after 5 seconds.
  • channel not fired: onpluginsready
  • channel not fired: oncordovaready

from debugger:

  • "wwahost.exe" (skript): "skriptcode (msapphost/3.0)" geladen.
  • es wurde eine ausnahme ausgelöst: in zeile 596, spalte 9 in ms-appx-web://........./www/winjs/js/base.js 0x800a138f - javascript runtime error: unable property 'ui' of undefined or null reference
  • ausnahmefehler in zeile 1559, spalte 13 in ms-appx-web://......../www/cordova.js 0x800a1391 - javascript runtime error: 'windows' undefined

who can me?

kevin

i ran same issue.
in fact, when associate app store, association change "package name" name generated store.
result : start page don't know "index.html" because package name changed.

to resolve it, cordova team added 2 preferences :

<preference name="windowsstoreidentityname" value="12225toto42.3355241v9c2t6" /> <preference name="windowsstorepublishername" value="cn=9985d2c8-iui5-4272-toto-ebr6fe26877a" /> 

you have add config.xml , fill fields app identity informations (retrieve values app management --> app identity in dev center)

association should successful !

the issue reference here : https://github.com/phonegap/build/issues/506


Comments

Popular posts from this blog

loops - Spock: How to use test data with @Stepwise -

amazon web services - S3 Pre-signed POST validate file type? -