To set up a subdomain for Apple app site association, follow these steps:
Log in to your domain registrar and navigate to the domain management dashboard.
Add a new DNS record for the subdomain you want to use for the app site association file. The record should be a CNAME record that points to the root domain.
For example, if your main domain is example.com and you want to use the subdomain apps.example.com for the app site association file, the CNAME record should look like this:
apps CNAME example.com
For example:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "TEAMID.BUNDLEID",
"paths": [ "/path-to-content/*", "*" ]
}
]
}
}
Replace TEAMID and BUNDLEID with the respective values for your app.
Upload the file to the root directory of the subdomain using an FTP client or through your website's file manager.
Verify that the app site association file is accessible by visiting https://apps.example.com/apple-app-site… in a web browser. The file should be displayed without any errors.
Test the app site association by sharing links to your app on social media, messaging apps, or other platforms. When clicked, the link should open the corresponding content in your app.
Note: The app site association file must be served over HTTPS and must not have any redirects or authentication requirements. It should also be accessible without any query parameters or paths.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-08-08 11:00:00 +0000
Seen: 18 times
Last updated: Dec 28 '22
What could be the reason for the node app not functioning on Namecheap hosting?
How does rate limiting work for Azure Function in .NET 7?
How to identify the screen location of the mouse pointer in an electron app?
What is missing since the androidmanifest.xml file is not present?
When attempting to launch my Android app, why does my AVD open YouTube instead?
What is the appropriate size for App store screenshots on a 6.5" display?