简体   繁体   中英

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

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

Where paths doesn't contain 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.

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. But I doubt that your URL is of that format.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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