I am setting the iOS Universal Link support to my app following many tutorials (Branch.io, cordova universal link plugin, ...) and the official documentation but it doesn't work. Here the steps I followed:
- Enable the Associated Domains service in the developper panel
- Enable the Associated Domains in the Xcode project file
- Add
applinks:app.mydomain.com
to my Capabilities - Create the apple-app-site-association with the content below
- Upload the apple-app-site-association to the root of my web server
- Set the content mime to "application/pkcs7-mime"
- Verify it is accessible by the link: https://app.mydomain.com/apple-app-site-association
- Verify the https certificate is valid
- Verify the robots.txt enable the crawler for all the paths
My application pass the test on https://limitless-sierra-4673.herokuapp.com/ when I check "Allow unencrypted AASA files" (my apple-app-site-association is not signed). My app pass the test on the Apple verificator : https://search.developer.apple.com/appsearch-validation-tool/
When I click on the url https://app.mydomain.com/m/link?token=aaaa from a mail in Safari on my iPhone I'm not redirected and the content of the page is displayed.