通用链接深层链接不适用于某些链接

时间:2021-05-06 12:23:13

标签: ios swift xcode deep-linking ios-universal-links

我们的应用启用了使用通用链接的深层链接

这是服务器上的 AASA 文件的样子

{
    "applinks": {
        "apps": [],
        "details": [{
            "appID": "team.com.company.product",
            "paths": ["/dashboards/*", "/lakes/*", "/dashboards-next/*", "/embed/lakes/*"]
        }]
    }
}

这是清单文件

<string>applinks:*.company.com/dashboards</string>
<string>applinks:*.company.com/lakes</string>
<string>applinks:*.company.com/dashboards-next</string>
<string>applinks:*.company.com/embed/lakes</string>

"/dashboards/*", "/lakes/*", "/dashboards-next/*" 似乎在应用中运行良好,但是
"/embed/lakes/*" 网址似乎不起作用

例如:
https://base.dev.company.com/lakes/jCzwyW924vnnh4k5Yx7B8t9H99j4Rhd9 工作正常 https://base.dev.company.com/embed/lakes/jCzwyW924vdnhFk5Yx7B8t9H99j4Rhd9 不起作用

1 个答案:

答案 0 :(得分:-1)

问题是清单文件已更新并托管在子域上,但未在主域上更新。