Support universal links are used for iOS developers so that users can tap a link to the website and get seamlessly redirected to their installed app without going through Safari.
Apple has pretty well-explained documentation on how to setup universal links.
In there it is specified that you should create an apple-app-site-association file on your domain and that file will contain json, but the big BUT is not to have .json extension.
On one of the domains that file when opened through the browser shows the content:
Apple and online tools such as show that the file does not contain valid JSON.
So what is the catch?
When testing with curl I get an error from Cloudflare, and it looks like Cloudflare protection is blocking access to the file:
To confirm this is indeed the case, I bypassed Cloudflare by faking in my hosts file the website to the server IP, and curl gave JSON output:
Disable Cloudflare protection or create a rule to exclude this file from the checks.
Join the discussion