【问题标题】:Universal links deep linking not working for certain links通用链接深层链接不适用于某些链接
【发布时间】:2021-05-06 12:23:13
【问题描述】:

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

这是服务器上的 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 不起作用

【问题讨论】:

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


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-07
      • 2017-01-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多