Skip to content

Instantly share code, notes, and snippets.

@zaenk
Created January 5, 2018 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaenk/ac47fe97b0d8a3c993f0d746dc716308 to your computer and use it in GitHub Desktop.
Save zaenk/ac47fe97b0d8a3c993f0d746dc716308 to your computer and use it in GitHub Desktop.
iOS universal link checklist

iOS universal link checklist

Proper way to configure Apple App Site Association file

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "TeamID.BundleID",
                "paths": [ "/wwdc/news/", "/videos/wwdc/2015/*"]
            },
            {
                "appID": "TeamID.BundleID",
                "paths": [ "*" ]
            }
        ]
    }
}
  • Make sure your webserver serves /.well-known/apple-app-site-association as application/json
<Files .well-known/apple-app-site-association>
  Header set Content-type "application/json"
</Files> 
  • Make sure, that the the URLs refereced in the AASA file are exists
# for the example above
mkdir -p /var/www/wwdc/news
thouch /var/www/wwdc/news/index.html
thouch /var/www/videos/wwdc/2015/index.html
  • iOS will only donwload the AASA file when your app is installed or updated!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment