简体   繁体   English

检查 Firebase 动态链接配置

[英]Check for Firebase Dynamic Links configuration

While validating my dynamic link configuration from the link从链接验证我的动态链接配置​​时

https://XXXXXXXXXXXXXXXXX.page.link/apple-app-site-association

I am getting the reponse as我得到的回应是

{
  "applinks": {
    "apps": [],
    "details": [
      {
        "appID": "XXXXXXXXXX.com.XXXXXXXX.XXXXXXXXX",
        "paths": [
          "NOT /_/*",
          "/*"
        ]
      }
    ]
  }
}

Whereas the blog https://firebase.google.com/docs/dynamic-links/ios/receive has defined a configured dynamic link as而博客https://firebase.google.com/docs/dynamic-links/ios/receive已将配置的动态链接定义为

{
  "applinks": {
    "apps": [],
    "details": [
      {
        "appID": "1234567890.com.example.ios",
        "paths": [
          "/*"
        ]
      }
    ]
  }
}

Where paths doesn't contain NOT . paths不包含NOT

Can it be the reason my dynamic link is showing 'Invalid Dynamic link' on clicking from Sign-in link received in the email?这可能是我的动态链接在点击电子邮件中收到的登录链接时显示“无效的动态链接”的原因吗?

Can it be the reason my dynamic link is showing 'Invalid Dynamic link' on clicking from Sign-in link received in the email?这可能是我的动态链接在点击电子邮件中收到的登录链接时显示“无效的动态链接”的原因吗?

No. Their documentation just seems to be outdated.不。他们的文档似乎已经过时了。 All Dynamic Link domains will have these two items in the paths key, just tested with a few of my own domains.所有动态链接域的paths键中都会有这两项,只是用我自己的几个域进行了测试。

This is unless your Dynamic Link is of the form domain.page.link/_/something , in which case the apple-app-site-association explicitly prohibits the OS to open the URL in the app.除非您的动态链接采用domain.page.link/_/something形式,在这种情况下, apple-app-site-association明确禁止操作系统打开应用程序中的 URL。 But I doubt that your URL is of that format.但我怀疑你的 URL 是那种格式。

Hence, your issue is somewhere else, I'm afraid.因此,恐怕您的问题在其他地方。 I'd suggest that you double check the team ID and bundle ID if they really match with the app you expect to get opened.我建议您仔细检查团队 ID 和捆绑 ID,如果它们确实与您希望打开的应用程序匹配。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM