UWP app crashes after associating with the store

2019-08-02 21:59发布

问题:

I'm creating a cordova app for Windows. After associating the app with the store the application start page goes white blank. The app works fine if it uses the package identity name com.something.moretext but my store package identity name is 58661Something.MoreText

the windows store package identity name starts with numbers so i get error of unmatched pattern if i change widget-id manually in config.xml and rebuild it.

If i just change in the visual studio without running the command (cordova build windows) i get no error but the application still comes as blank white screen. Please suggest

[Screenshot][1][1]: https://i.stack.imgur.com/ly213.png

回答1:

i was able to solve this problem by changing the Applications StartPage value in manifest same as the package identity name . for e.g i changed StartPage="ms-appx-web://com.something.moretext/www/index.html" to StartPage="ms-appx-web://58661something1.moretext1/www/index.html"