iosdeep-linkingios-universal-linksapple-app-site-association

Universal Link How to forbid open all links except some?


apple-app-site-association:

{
    "applinks": {
        "details": [
            {
                "appIDs": [
                    "XXXXXXXXXX.com.project",
                ],
                "components": [
                    "/*/news/*"
                ],
                "defaults": {
                    "caseSensitive": false 
                }
            }
        ]
    }
}

Associated Domains:

applinks:*.siteName.com

With this configuration it opens any link in app.

I need next links to open the app:

And next to open site:

There are a lot of variations of subdomains (test1, test2, test3, test4...)

How can I achieve that?


Solution

  • The answer is that AASA file has a wrong format. While I investigate this functional, I've made a guide with useful information. https://github.com/NikKovIos/AASA-Universal-Links-Information/blob/main/README.md