You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/deep-linking.md
+52-1Lines changed: 52 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ function App() {
81
81
</TabItem>
82
82
</Tabs>
83
83
84
-
The reason that is necessary to use `Linking.createURL`is that the scheme will differ depending on whether you're in the client app or in a standalone app.
84
+
It is necessary to use `Linking.createURL`since the scheme differs between the [Expo Dev Client](https://docs.expo.dev/versions/latest/sdk/dev-client/) and standalone apps.
85
85
86
86
The scheme specified in `app.json` only applies to standalone apps. In the Expo client app you can deep link using `exp://ADDRESS:PORT/--/` where `ADDRESS` is often `127.0.0.1` and `PORT` is often `19000` - the URL is printed when you run `expo start`. The `Linking.createURL` function abstracts it out so that you don't need to specify them manually.
87
87
@@ -93,6 +93,57 @@ const linking = {
93
93
};
94
94
```
95
95
96
+
### Universal Links on Expo
97
+
98
+
To set up iOS universal Links in your Expo app, you need to configure your [app config](https://docs.expo.dev/workflow/configuration) to include the associated domains and entitlements:
You will also need to setup [Associated Domains](https://developer.apple.com/documentation/Xcode/supporting-associated-domains) on your server.
114
+
115
+
See [Expo's documentation on iOS Universal Links](https://docs.expo.dev/linking/ios-universal-links/) for more details.
116
+
117
+
### App Links on Expo
118
+
119
+
To set up Android App Links in your Expo app, you need to configure your [app config](https://docs.expo.dev/workflow/configuration) to include the `intentFilters`:
120
+
121
+
```json
122
+
{
123
+
"expo": {
124
+
"android": {
125
+
"intentFilters": [
126
+
{
127
+
"action": "VIEW",
128
+
"autoVerify": true,
129
+
"data": [
130
+
{
131
+
"scheme": "https",
132
+
"host": "app.example.com"
133
+
}
134
+
],
135
+
"category": ["BROWSABLE", "DEFAULT"]
136
+
}
137
+
]
138
+
}
139
+
}
140
+
}
141
+
```
142
+
143
+
You will also need to [declare the association](https://developer.android.com/training/app-links/verify-android-applinks#web-assoc) between your website and your intent filters by hosting a Digital Asset Links JSON file.
144
+
145
+
See [Expo's documentation on Android App Links](https://docs.expo.dev/linking/android-app-links/) for more details.
0 commit comments