Edit this page
An overview of available resources to implement Linking and Deep Links in your Expo apps.
Edit this page
Linking allows your app to interact with incoming and outgoing URLs. In this process, the user not only gets directed to open your app, but they are taken to a specific screen (route) within the app.
There are different linking strategies you handle in your Expo app:
Tip: We recommend using Development builds to test your app's linking strategies instead of Expo Go.
Linking to other apps from your app is achieved using a URL based on the target app's URL scheme. This URL scheme allows you to reference resources within that native app.
Your app can use a common URL scheme for default apps, including https
and http
(commonly used by web browsers like Chrome, Safari, and so on), and use JavaScript to invoke the URL that launches the corresponding native app.
Learn how to handle common and custom URL schemes to link other apps from your app.
Deep Links are links to a specific URL based content inside an app or a website.
For example, by clicking an advertisement of your product, your app will open on the user's device and they can view that product's details. This product's link that the user clicked may look like:
myapp://web-app.com/product
This link is constructed by three parts:
myapp://
). It can also be https
or http
for non-standard deep links.web-app.com
)./product
). If the path isn't specified, the user is taken to the home screen of the app.Learn how to configure custom URL schemes to create a deep link of your app.
Both Android and iOS implement their own systems for routing web URL's to an app if the app is installed. On Android, this system is called App Links, and on iOS it is called Universal Links.
Android App Links are different from standard deep links as they use regular HTTP and HTTPS schemes and are exclusive to Android devices.
This link type allows your app to always open when a user clicks the link instead of choosing between the browser or another handler from a dialog displayed on the device. If the user doesn't have your app installed, the link takes them to your app's associated website.
Learn how to configure intentFilters
and set up two-way association from a standard web URL.
iOS Universal Links are different from standard deep links as they use regular HTTP and HTTPS schemes and are exclusive to iOS devices.
This link type allows your app to open when a user clicks an HTTP(S) link pointing to your web domain. If the user doesn't have your app installed, the link takes them to your app's associated website. You can further configure the website by displaying a banner for the user to open your app using Apple Smart Banner.
Learn how to configure associatedDomains
and set up two-way association.
To implement any of the above Linking strategies, we recommend using Expo Router since deep linking is automatically enabled for all of your app's screens.
Benefits:
Link
component from Expo Router can be used to handle URL schemes to other apps