谁能告诉我我的关联文件有什么问题,因为该链接无法打开应用程序,下面是我的apple-app-site-association文件
{
"applinks":
{
"apps": [],
"details": [
{
"appID": "W3H4I4M89M.com.openexample.app",
"paths": [
"/Login"
]
}
]
}
}
您可以查看有关adding Universal Links Support to Your Association File的苹果文档。
有一个示例文件样式;
{
"applinks": {
"apps": [],
"details": [{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": ["/albums"]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": ["/videos"]
}]
}
}
然后苹果注意:
用于在paths数组中指定网站路径的字符串区分大小写。
因此,最好使用小写字母定义paths:
{
"applinks":
{
"apps": [],
"details": [
{
"appID": "W3H4I4M89M.com.openexample.app",
"paths": ["/login"]
}
]
}
}