【发布时间】:2020-04-17 13:37:12
【问题描述】:
我们正在尝试让通用链接在我们的应用中正常工作,但在尝试下载 Apple App Site Association 文件时遇到错误。
我们使用了各种在线工具来验证文件,他们都说这是一个解析错误,但他们没有详细说明问题是什么。
我们已验证 JSON 是有效的,但文件内容还有什么问题?
{
"applinks": {
"details": [
{
"appIDs": [ "12345NGB.co.uk.my.app" ],
"components": [
{
"/": "/universallink/*",
"comment": "Matches any URL whose path starts with /universallink/"
}
]
}
]
}
}
【问题讨论】:
-
请参阅developer.apple.com/library/archive/documentation/General/… 您的 JSON 有效,但与预期结构不匹配
-
这种格式不应该是iOS 13之前的吗?:developer.apple.com/documentation/safariservices/…
标签: ios