avioli / uni_links

Flutter plugin for accepting incoming links.
BSD 2-Clause "Simplified" License
564 stars 315 forks source link

Does not trigger with a subdomain on iOS #183

Open wijesijp opened 1 year ago

wijesijp commented 1 year ago

I have following in my apple-app-site-association file

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "oooo",
                "paths": [ "*" ]
            }
        ]
    }
}

In associated domains I have added it with a subdomain like applinks:dev.abc.com The application does not seems to get triggered.

However if I add applinks:abc.com as associated domain the application does get trigged.

Is there a way to get it working?

LeonardoRosaa commented 1 year ago

If your site uses multiple subdomains (such as example.com, www.example.com, and support.example.com), each requires its own entry in the Associated Domains Entitlement, and each must serve its own apple-app-site-association file.

You must provide the apple-app-site-association for each subdomain once a time your domain has subdomains and you would like to associate them with your app.