Minimal web-server to support iOS universal links. Seamlessly redirect the user to the app when a link to your website is tapped.
-
Create a static file called
apple-app-site-association
in the root of your HTTPS web server. No extension! -
The content of the file describes the apps that can be opened via universal links and the paths that are supported.
{
"applinks": {
"apps": [],
"details": [
{
"appID": "{team_id}.{bundle_identifier}",
"paths": [ "*" ]
}
]
}
}
The team_id
can be found here https://developer.apple.com/account/#/membership.
A minimal description is above. More info here.