apps/docs/content/_partials/universal_links_apple.mdx
For a better user experience, you can use Universal Links instead of custom URL schemes. Universal Links allow your app to open directly from web links without showing a browser redirect prompt.
To enable Universal Links, you need to:
Configure Associated Domains in your Xcode project:
applinks:yourdomain.comHost the Apple App Site Association (AASA) file on your own infrastructure:
https://yourdomain.com/.well-known/apple-app-site-association or https://yourdomain.com/apple-app-site-associationContent-Type: application/json (or text/json)Supabase does not currently support hosting the AASA file. You must host this file on your own infrastructure following Apple's best practices.
</Admonition>The AASA file format should look like this:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "TEAM_ID.BUNDLE_ID",
"paths": ["*"]
}
]
}
}
Replace TEAM_ID with your Apple Developer Team ID and BUNDLE_ID with your app's bundle identifier.
For detailed setup instructions, see Apple's documentation on supporting associated domains.