Open
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. Targethref
should 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
Activity