iOS AASA 文件是否需要位于安全连接上? (HTTPS)?

Does the iOS AASA file need to sit on a secure connection? (HTTPS)?

我正在尝试在网站和我的应用程序之间设置通用 link,但我意识到我的网站使用的是非安全连接 (HTTP)。如果我想对我的应用程序使用通用 link,AASA 请求是否需要在安全连接 (HTTPS) 上进行?

我找到了一些关于它的信息,但不是来自苹果文档。关于它的构造将不胜感激!

是的,它确实需要 HTTPS official documentation 说:

To protect users’ privacy and security, you should not use HTTP when you need to transport data; instead, use a secure transport protocol such as HTTPS.

您可以使用 this tool 验证您的 AASA 文件。

官方文档如下:https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html

Upload the apple-app-site-association file to your HTTPS web server.

(强调我的)