MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Bug/Feature Request]: ms-windows-store URI schemas not being honored when within a <a> tag in a UWP WebView App on Xbox
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
I tried clicking on a <a href="ms-windows-store://...">Example</a> deeplink from within a WebView2 UWP App.
Actual: It launches the Xbox App Store
Expected: ms-windows-store://review/?ProductId=9WZDNCRFHVJL would open a Rate and Review Dialog on Xbox
It appears that Windows.System.Launcher.LaunchUriAsync will work if I want to programmatically launch a deeplink from within the C# wrapper. Example from the documentation:
bool result = await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store://navigatetopage/?Id=Gaming"));
Importance
Moderate. My app's user experience is affected, but still usable. Would be nice to have ms-windows-store:// deeplink working from within the Webview!
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
Latest
SDK Version
Latest
Framework
WinUI2/UWP
Operating System
Xbox
OS Version
Latest
Repro steps
- Create a webpage with an
<a>element. Targethrefshould be one of the supported schemas here: https://learn.microsoft.com/en-us/windows/apps/develop/launch/launch-store-app - Create a WebView2 UWP application pointing to the webpage that hosts the
ms-windows-store://deeplink. - Click on the deeplink from your Xbox UWP
- Observe issue
Repros in Edge Browser
Yes, issue can be reproduced in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
n/a
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue using the listed WebView2 UWP steps on Xbox, with an anchor targeting the documented ms-windows-store:// schemas. Compare the anchor behavior with the Windows.System.Launcher.LaunchUriAsync example; done would mean the review URI opens its Rate and Review dialog instead of the Xbox App Store.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- operating-systems, web-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100