The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: add instructions for hosting Apple App Site Association file for universal deep link (#41304)
Guilherme Souza8c672ab6d78b
diff --git a/apps/docs/content/_partials/universal_links_apple.mdx b/apps/docs/content/_partials/universal_links_apple.mdxnew file mode 100644index 00000000000..ef9ada6753b--- /dev/null+++ b/apps/docs/content/_partials/universal_links_apple.mdx@@ -0,0 +1,44 @@+### Universal links++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:++1. **Configure Associated Domains** in your Xcode project:++ - Add your domain to the Associated Domains capability+ - Format: `applinks:yourdomain.com`++2. **Host the Apple App Site Association (AASA) file** on your own infrastructure:+ - The file must be accessible at `https://yourdomain.com/.well-known/apple-app-site-association` or `https://yourdomain.com/apple-app-site-association`+ - The file must be served with `Content-Type: application/json` (or `text/json`)+ - The file must be accessible over HTTPS without redirects+ - The file should not have a file extension++<Admonition type="caution">++Supabase does not currently support hosting the AASA file. You must host this file on your own+infrastructure following [Apple's best+practices](https://developer.apple.com/documentation/xcode/supporting-associated-domains).++</Admonition>++The AASA file format should look like this:++```json+{+ "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](https://developer.apple.com/documentation/xcode/supporting-associated-domains).diff --git a/apps/docs/content/guides/auth/native-mobile-deep-linking.mdx b/apps/docs/content/guides/auth/native-mobile-deep-linking.mdxindex 6d2155e9e64..797a8094bc4 100644--- a/apps/docs/content/guides/auth/native-mobile-deep-linking.mdx+++ b/apps/docs/content/guides/auth/native-mobile-deep-linking.mdx@@ -191,6 +191,8 @@ With Deep Linking, you can configure this redirect to open a specific page. ThisFor more info: https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app+ <$Partial path="universal_links_apple.mdx" />+</TabPanel><TabPanel id="windows" label="Windows">@@ -343,6 +345,8 @@ With Deep Linking, you can configure this redirect to open a specific page. This</plist>```+ <$Partial path="universal_links_apple.mdx" />+</TabPanel></$Show><$Show if="sdk:kotlin">