Repository: flutter
Issue: Android deep linking works but iOS deep linking does not
Labels: platform-ios,d: api docs,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-ios,triaged-ios

Hello! I am having trouble with deep linking within my flutter application. I've follow the documentation on getting things setup and have it working on Android but not iOS. I am not receiving any errors or logs (that I can tell) showing something is awry. Thank you in advance :)

## Steps to Reproduce

1. Follow the steps listed in the [documentation](https://docs.flutter.dev/development/ui/navigation/deep-linking) on how to enable deep linking for mobile
2. Attempt to boot url to iPhone simulator using `xcrun simctl openurl booted https://{MY_DOMAIN}`

**Expected results:** The booted url opens to the desired page within the installed application

**Actual results:** The website for the app is opened in Safari instead

<details>
<summary>Code sample</summary>

```
class MobileAppRoot extends StatefulWidget {
  const MobileAppRoot({Key? key}) : super(key: key);

  @override
  State<StatefulWidget> createState() => MobileAppRootState();
}

class MobileAppRootState extends State<MobileAppRoot> {
  late GoRouter _router;

  @override
  void initState() {
    super.initState();
    _router = setRouter();
  }

  setRouter() {
    return GoRouter(
      navigatorKey: NavKeys.rootNavigatorKey,
      initialLocation: '/auctions',
      errorBuilder: (context, state) => LinkPageError(url: state.location),
      routes: <RouteBase>[

        /// Custom top shell route - wraps the below routes in a scaffold with
        /// a bottom tab navigator (ScaffoldWithNavBar). Note that no Navigator
        /// will be created by this top ShellRoute.
        BottomTabBarShellRoute(
          routes: <RouteBase>[

            /// 1st bottom navigation tab root: AUCTIONS
            GoRoute(
              path: '/auctions',
              builder: (context, state) => UserAuctions(),
              routes: <RouteBase>[

                /// The following screens to display stacked on navigator of the
                /// first tab. This will cover screen A but not the application
                /// shell (bottom navigation bar).
                GoRoute(
                  name: "auctionLots",
                  path: ':id',
                  builder: (BuildContext context, GoRouterState state) =>
                      AuctionLots(auctionId: int.tryParse(state.params["id"]!)),
                ),
              ],
            ),

            /// 2nd bottom navigation tab root: FAVORITES
            GoRoute(
              path: '/favorites',
              builder: (context, state) => UserFavorites(),
            ),
            /// 3rd bottom navigation tab root: SEARCH
            GoRoute(
              path: '/search',
              builder: (context, state) => UserSearch(),
            ),
            /// 4th bottom navigation tab root: NOTIFICATIONS
            GoRoute(
              path: '/notifications',
              builder: (context, state) => UserNotifications(),
            ),
            /// 5th bottom navigation tab root: PROFILE
            GoRoute(
              path: '/profile',
              builder: (context, state) => UserProfile(),
                routes: <RouteBase>[
                  GoRoute(
                    name: 'about',
                    path: 'about',
                    builder: (context, state) => const AboutApp(),
                  ),
                ]
            ),
          ],
        ),
      ],
    );
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerDelegate: _router.routerDelegate,
      routeInformationParser: _router.routeInformationParser,
      routeInformationProvider: _router.routeInformationProvider,
      debugShowCheckedModeBanner: false,
      builder: (context, child) {
        return MediaQuery(
            data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
            child: child!
        );
      },
    );
  }
}
```

</details>

## Verified items
* Using GoRouter 6.5.2
* Have the associated domains listed
* Have FlutterDeepLinkingEnabled as YES
* Association file is titled as "apple-app-site-association" without a json file extension within _./well-known/_ of the website. I've confirmed by using apples association validator that my file is returning as valid json. Example: `curl -v https://app-site-association.cdn-apple.com/a/v1/{MY_DOMAIN}`


## Association File
```
{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appId": "{TEAM_ID}.{APP_BUNDLE_ID_DEV},
                "paths": [ "*" ]
            },
            {
                "appId": "{TEAM_ID}.{APP_BUNDLE_ID_STAGING}",
                "paths": [ "*" ]
            },
            {
                "appId": "{TEAM_ID}.{APP_BUNDLE_ID_PROD}",
                "paths": [ "*" ]
            }
        ]
    }
}
```

## Flutter analyze
```
Analyzing saleday mobile...                                             
No issues found! (ran in 2.4s)
```

## Flutter Doctor
```
[✓] Flutter (Channel stable, 3.7.0, on macOS 13.3 22E252 darwin-arm64, locale en-US)
    • Flutter version 3.7.0 on channel stable at /Users/michaelmccomas/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (10 weeks ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/michaelmccomas/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/michaelmccomas/Library/Android/sdk
    • Java binary at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_361-b09)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (3 available)
    • iPhone 13 Pro (mobile) • DBEC6662-E6C5-48FC-A8E7-1FE01082C244 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.3 22E252 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 111.0.5563.146

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.
```

## Video Demonstration
* Pixel 4
* iPhone 13 Pro

https://user-images.githubusercontent.com/55296063/229408269-520cf7ff-c90d-4f92-a35f-435e6c1c126c.mov