Other than the first initial install of the app, does the apple-app-site-association json file ever get updated?
For example, if I add an additional value to the path array in the json file, will my app ever get that update?
To add the associated domain file to your website, create a file named apple-app-site-association (without an extension). Update the JSON code in the file for the services you'll support on the domain. For universal links, be sure to list the app identifiers for your domain in the applinks service.
After you create the apple-app-site-association file, upload it to the root of your HTTPS web server or to the . well-known subdirectory. The file needs to be accessible via HTTPS—without any redirects—at https://<domain>/apple-app-site-association or https://<domain>/.well-known/apple-app-site-association .
The apple-app-site-association file is cached once when the app is first installed. If this initial scrape fails, in almost all situations it will not be reattempted. The only exception to this is if the initial return is a 5xx error, in which case a limited number of retries may occur.
The AASA (short for apple-app-site-association) is a file that lives on your website and associates your website domain with your native app. In other words, it's a safe way to prove domain ownership to iOS.
My own experience indicates the apple-app-site-association
file is checked when the app is first installed, and then rechecked during any later app updates from the App Store. So if you add an additional path to the file, it would be detected when the next update app is released but likely not before.
Note: if you're testing locally, you need to completely delete the app before reinstalling. Except for App Store updates, it appears the apple-app-site-association
is not rechecked if the app is already on your device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With