Search code examples
xcodeios9deep-linkingcustom-urlios-universal-links

Universal deep link for iOS 9


I would like to implement universal deep links for our apps. One of the requirement from the Apple is that apple-site-association file has to be on HTTPS web server. Is it just that or whole website needs to be https.

Ref: https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/AppSearch/UniversalLinks.html#//apple_ref/doc/uid/TP40016308-CH12


Solution

  • I've implemented universal links recently, and here are some points:

    • Your apple-app-site-association file should be accessible through https. No other way around this.
    • If your site is http only, then you have to sign the apple-app-site-association file. Using the same certificates that are used for the https apple-app-site-association file access.
    • If your site is fully https, then you don't have to sign the apple-app-site-association file, you can just upload it as is.

    I know I've said apple-app-site-association too often :), but I hope this helps.