Skip to content

Commit

Permalink
Merge pull request #606 from LaurenEllwood/master
Browse files Browse the repository at this point in the history
Add notes on debugging the Windows app
  • Loading branch information
LaurenEllwood authored Oct 21, 2021
2 parents 610e4c4 + 8c9ef0b commit 2360e6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _docs/output/app-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ Here are the detailed steps:
### Troubleshooting
- UWP apps created by Cordova are still using the old/original Edge renderer i.e. not Chromium. The [Microsoft Edge DevTools Preview](https://www.microsoft.com/en-za/p/microsoft-edge-devtools-preview/9mzbfrmz0mnj) app can be used to display a full devtools environment when debugging issues in the Windows app. To do this, run the Windows app you want to debug (this can be a local build as outlined in step 7 above), then launch the Microsoft Edge DevTools Preview app and 'connect' to the relevant app.
- Sometimes, when you build a release, you get a white screen when opening the app or any page inside it. [This post explains a likely reason](https://stackoverflow.com/questions/39200592/visual-studio-2015-cordova-windows-10-blank-white-screen-after-associated-with), which is that Visual Studio has changed the Package Name based on what's in your Windows account, and it doesn't match what you have in your app. To get it right, `WindowsStoreIdentityName` and `WindowsStorePublisherName` must be correct in the output `config.xml`, which is populated from what you have in `_data/secrets.yml`.
- Another possible reason for the white screen of doom is that Cordova is not setting the default language in `package.windows10.appxmanifest`, which is is supposed to read from `config.xml`. This seems to be because when associating the app with the store, Visual Studio unsets the default language. To fix this manually, open `package.windows10.appxmanifest` in Visual Studio and add the language code to 'Default language'.
Expand Down

0 comments on commit 2360e6f

Please sign in to comment.