简体   繁体   English

通用链接测试:无法提取应用程序链接所需的信息

[英]Universal link test: Could not extract required information for application links

Trying to configure Universal Links for iOS 9. I am using Apple's validation tool: 尝试为iOS 9配置通用链接。我正在使用Apple的验证工具:

https://search.developer.apple.com/appsearch-validation-tool/ https://search.developer.apple.com/appsearch-validation-tool/

Everything is passing except I get Action Required for Link to Application . 一切都过去了,除了我得到Link to Application Action RequiredAction Required The message is: " Could not extract required information for application links. Learn how to implement the recommended Universal Links. " I have tried running the tool both from my desktop and from a device that I believe is properly configured. 消息是:“ Could not extract required information for application links. Learn how to implement the recommended Universal Links. ”我尝试从我的桌面和我认为已正确配置的设备运行该工具。 Universal Links are not working for me when I try them from Safari. 当我从Safari试用它时,Universal Links对我不起作用。

There is nothing in the linked documentation that explicitly explains what this required information might be. 链接文档中没有任何内容明确说明了所需信息的内容。

What fixed it for me, is realizing that you must enter an actual URL in the validation tool, and not just the domain (root) >IF< your apple-app-site-association file specifies a sub-path. 为我修复的是,你意识到你必须在验证工具中输入一个实际的URL,而不仅仅是域(root)> IF <你的apple-app-site-association文件指定了一个子路径。

In other words, if only part of your website redirects to an app, be sure to enter in the validation tool a URL that includes the subdomain! 换句话说,如果只有部分网站重定向到应用,请确保在验证工具中输入包含子域的网址!

[Spent all day figuring this out - LOL] [花了一整天搞清楚这一点 - 大声笑]

In my case the issue was with the '#' symbol in the link. 就我而言,问题在于链接中的“#”符号。

While apple-app-site-association file has the wild card to any "/?/foo/*" links, "/a/foo/bar" will pass while "/#/foo/bar" will not 虽然apple-app-site-association文件具有任何“/?/ foo / *”链接的通配符,但“/ a / foo / bar”将通过而“/#/ foo / bar”不会

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM