[UWP]网络到应用程序链接仅在边缘浏览器上工作 [英] [UWP]Web to app linking only working on edge browser

查看:67
本文介绍了[UWP]网络到应用程序链接仅在边缘浏览器上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试按照以下说明设置网络应用链接:  https://docs.microsoft.com/en-us / windows / uwp / launch-resume / web-to-app-linking



网络应用程序链接完美运行,但仅限于Edge浏览器(如果我将链接传递给Run.exe)。在Chrome,Firefox和IE 11中,链接重定向到网页,甚至没有询问我是否要打开应用。

I'm attempting to set up web to app linking following these instructions: https://docs.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking

The web to app links work perfectly but only in the Edge browser (it also works if I pass a link into the Run.exe). In Chrome, Firefox, and IE 11 the links redirect to the webpage without even asking if I want to open the app.

我正在测试侧载应用。

我的Windows版本是1703,内部版本号15063.413

My windows version is 1703, build number 15063.413

(编辑)为了澄清,我的问题是:是否预期Web到应用程序链接的行为仅适用于Edge?或者我做错了什么(我该怎么办?) 
$


谢谢!

(Edit) To clarify, my question is: Is it expected behavior that web to app linking only works in Edge? Or am I doing something incorrectly (and how can I fix it)? 

Thanks!

推荐答案

嗨  jay_logan,

Hi jay_logan,

根据官方文档
AppUriHandler
你会发现这个行为是由设计的。

According to the official doc about AppUriHandler you will find out that this behavior is by designed.

正如 @ TylerW-MSFT 所说,

从Windows 10 Creators更新开始,支持的链接单击Edge将启动相应的应用程序。在其他浏览器中点击支持的链接(例如Internet Explorer等)将使您保持浏览体验。

As @TylerW-MSFT saying,
Starting with the Windows 10 Creators update, supported links that you click in Edge will launch the corresponding app. Supported links clicked in other browsers (e.g. Internet Explorer, etc.), will keep you in the browsing experience.

Edge具有名为的设置在应用中打开网站。然后,当您单击Microsoft Edge浏览器中的链接时,它可能会打开您安装的应用程序。但在其他浏览器(例如Internet Explorer等)中,它无法执行此操作。

Edge has the setting named Open sites in apps. then when you click the link in the Microsoft Edge browser, it could open your app installed. But in other browsers (e.g. Internet Explorer, etc.), it can't do this behavior.

祝你好运,

Breeze


这篇关于[UWP]网络到应用程序链接仅在边缘浏览器上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆