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

Open
#5,120 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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
  1. Create a webpage with an <a> element. Target href should be one of the supported schemas here: https://learn.microsoft.com/en-us/windows/apps/develop/launch/launch-store-app
  2. Create a WebView2 UWP application pointing to the webpage that hosts the ms-windows-store:// deeplink.
  3. Click on the deeplink from your Xbox UWP
  4. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.