Create apple-app-site-association file as follows:

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "Y3JAJ4DU63.com.lws.test",
                "paths": [ "/*" ]
            }
        ]
    }
}
Copy the code

[Parameter Description]

AppID: consists of TeamID+BundleId. Paths: List of allowed paths. The list is case-sensitive. Wildcard (*) identifies all paths under the allowed domain name.

2. Configure the open platform Universal Links address

Put the files in the project root directory, or configure the Nginx configuration file as follows:

location /apple-app-site-association {
    alias  /www/wwwroot/app/apple-app-site-association;
}
Copy the code

Universal Links addresses such as www.lws.com/apple-app-s… (Note: HTTPS must be supported)