From d18b85dabcc374e9e6f29c22b94efbf59f0913cb Mon Sep 17 00:00:00 2001 From: Kevin Lamenzo Date: Tue, 4 Aug 2026 04:09:31 +0000 Subject: [PATCH] docs: update iOS universal links AASA file example to use components --- .../navigation/set-up-universal-links.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/sites/docs/src/content/cookbook/navigation/set-up-universal-links.md b/sites/docs/src/content/cookbook/navigation/set-up-universal-links.md index c7420084953..ecc6ed89ae3 100644 --- a/sites/docs/src/content/cookbook/navigation/set-up-universal-links.md +++ b/sites/docs/src/content/cookbook/navigation/set-up-universal-links.md @@ -204,15 +204,11 @@ this file should resemble the following content: ```json { "applinks": { - "apps": [], "details": [ { "appIDs": [ "S8QB4VV633.com.example.deeplinkCookbook" ], - "paths": [ - "*" - ], "components": [ { "/": "/*" @@ -220,11 +216,6 @@ this file should resemble the following content: ] } ] - }, - "webcredentials": { - "apps": [ - "S8QB4VV633.com.example.deeplinkCookbook" - ] } } ``` @@ -232,11 +223,11 @@ this file should resemble the following content: 1. Set one value in the `appIDs` array to `.`. -1. Set the `paths` array to `["*"]`. - The `paths` array specifies the allowed universal links. - Using the asterisk, `*` redirects every path to the Flutter app. - If needed, change the `paths` array value to a setting more - appropriate to your app. +1. Set the `components` array to specify the allowed paths. + In this example, the `/` key represents the URL path. + The value `/*` matches and redirects any path to the Flutter app. + If needed, customize the `components` array + to match only the paths appropriate for your app. 1. Host the file at a URL that resembles the following structure.