Skip to content

Commit 74ec4c3

Browse files
committed
Docs: Update AASA guidelines to use components (#12362)
1 parent bf52953 commit 74ec4c3

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

src/content/cookbook/navigation/set-up-universal-links.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,9 @@ this file should resemble the following content:
210210
"appIDs": [
211211
"S8QB4VV633.com.example.deeplinkCookbook"
212212
],
213-
"paths": [
214-
"*"
215-
],
216213
"components": [
217214
{
218-
"/": "/*"
215+
"/": "*"
219216
}
220217
]
221218
}
@@ -232,11 +229,17 @@ this file should resemble the following content:
232229
1. Set one value in the `appIDs` array to
233230
`<team id>.<bundle id>`.
234231

235-
1. Set the `paths` array to `["*"]`.
236-
The `paths` array specifies the allowed universal links.
237-
Using the asterisk, `*` redirects every path to the Flutter app.
238-
If needed, change the `paths` array value to a setting more
239-
appropriate to your app.
232+
1. Configure the `components` array.
233+
This field allows you to specify the URL patterns that your app supports.
234+
In the example above, `{"/": "*"}` allows all paths.
235+
To exclude specific paths or match complex patterns, using `components`
236+
is recommended for iOS 13 and later.
237+
238+
:::note
239+
For support on iOS 12 and earlier, you must also provide the `paths` array:
240+
`"paths": ["*"]`.
241+
If you support both new and old iOS versions, providing both fields is valid.
242+
:::
240243

241244
1. Host the file at a URL that resembles the following structure.
242245

0 commit comments

Comments
 (0)