Instrucciones de origen · Vista previa de solo lectura
name
universal-links
description
Set up and test universal links for iOS using setup-safari
Use bunx setup-safari to configure and test universal links (deep links) on iOS.
Important: When Custom Builds Are Needed
Universal links with custom domains require custom native builds. Your app will no longer work in Expo Go.
However, for basic deep linking during development:
Expo Go supports the exp:// URL scheme and Expo-hosted URLs
Custom builds required for your own domain's universal links (applinks:yourdomain.com)
If you only need deep linking for development/testing, try npx expo start with Expo Go first. Only create custom builds when you need production universal links with your own domain.
Automated Setup (Recommended)
Run setup-safari with your Apple ID to automate credential lookup:
# Deploy web (AASA file must be accessible)
npx expo export -p web && npx eas-cli deploy
# Rebuild iOS app with new entitlements
npx expo run:ios
# Or for TestFlight: npx testflight
Interactive Setup (Alternative)
For interactive mode (requires TTY):
bunx setup-safari
How Universal Links Work
Universal links require two parts:
AASA file on your server - Tells iOS which paths your app handles
Associated Domains entitlement - Tells your app which domains to claim
AASA File Format
Host at https://yourdomain.com/.well-known/apple-app-site-association: