Repository: flutter
Issue: [url_launcher]: launchUrl with custom schema doesn't trigger the respective external application on Non-Safari browsers
Labels: in triage

Edit: Happens in iOS. Can't reproduce on Android

### Steps to reproduce

Setup a simple flutter web app which has CTA that triggers launchUrl with a custom schema.
The app that uses the custom schema is launched when the same action is done through safari but not in other browsers such as Chrome, Edge


### Expected results

Launch the Application

### Actual results

Nothing happens. the browser tab has a launching animation but nothing actual happens.

### Code sample

```
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';

void main() {
  runApp(UnSupportedApp());
}

class UnSupportedApp extends StatelessWidget {
  const UnSupportedApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          body: Center(
        child: Text.rich(
          TextSpan(
            text: 'If you have already downloaded the app, ',
            children: [
              TextSpan(
                text: 'click here to redirect to app',
                recognizer: TapGestureRecognizer()
                  ..onTap = () {
                    final customUri = Uri(
                        // Replace with your schema and host
                        scheme: "****",
                        host: "****",
                        path: "/",
                    );
                    print(customUri.toString());
                    launchUrl(
                      customUri,
                      mode: LaunchMode.externalApplication,
                    );
                  },
                style: Theme.of(context)
                    .textTheme
                    .bodyMedium
                    ?.copyWith(color: Colors.blue),
              ),
            ],
            style: Theme.of(context).textTheme.bodyMedium,
          ),
        ),
      )),
    );
  }
}
```

### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

https://private-user-images.githubusercontent.com/45146774/374948689-0fe00bcc-57e7-4f46-b922-027c1228f546.MP4?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzcwMjQ4MjcsIm5iZiI6MTczNzAyNDUyNywicGF0aCI6Ii80NTE0Njc3NC8zNzQ5NDg2ODktMGZlMDBiY2MtNTdlNy00ZjQ2LWI5MjItMDI3YzEyMjhmNTQ2Lk1QND9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTE2VDEwNDg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiZDNlN2I4YmU5OWZlN2VkODUwZTRiNTUwMmRmNjY2MWEwYjE0MjQ1MzQwZmUzNmQwNGMzZTE0NGQ1OTc2YTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.v24U-Fkkjn8B9vgwUojbOo14JF_5uDuig-0xND9Oj8k

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

[✓] Flutter (Channel stable, 3.22.1, on macOS 15.0 24A335 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.3)
[✓] VS Code (version 1.93.1)