Xbox: Support to open game page on Xbox App when Installing #413
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replaces the #169 PR.
Note:
Only thing of note is that it was quite tricky to make use of the URI this time. It looks like a recent update (Or at least since the last time I attempted to use the URI a few years ago) to the Xbox app introduced a bug where the URI to open the product page fails until the app has fully initialized. This issue did not occur in earlier versions of the app.
To determine when the app has fully initialized and after hours of trying different approaches, the only solution I found was to monitor a specific directory where I found that files are modified the moment the app is ready. It's not the ideal solution but it worked reliably and perfectly in all my tests. Perhaps we should be on the lookout in the future to see if this issue is fixed in an update to remove this workaround.