title: UrlLauncher( 9700): component name for mailto is null
body: <p>So I know that for android version &gt;= 30 you need to add queries in the manifest, but this didnt do the trick for me.
  Im using Android Version 29. I nevertheless added these lines to my manifest.</p>
  <p>So my manifest looks like this.</p>
  <pre><code> &lt;uses-permission android:name=&quot;android.permission.QUERY_ALL_PACKAGES&quot; /&gt;
  &lt;queries&gt;
      &lt;intent&gt;
          &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
          &lt;data android:scheme=&quot;https&quot; /&gt;
      &lt;/intent&gt;
      &lt;intent&gt;
          &lt;action android:name=&quot;android.intent.action.DIAL&quot; /&gt;
          &lt;data android:scheme=&quot;tel&quot; /&gt;
      &lt;/intent&gt;
      &lt;intent&gt;
          &lt;action android:name=&quot;android.intent.action.SEND&quot; /&gt;
          &lt;data android:mimeType=&quot;*/*&quot; /&gt;
      &lt;/intent&gt;
  &lt;/queries&gt;
  </code></pre>
  <p>I managed to reproduce the error for my machine with the code bellow. Nevertheless I get this error:</p>
  <blockquote>
  <p>I/UrlLauncher(10601): component name for mailto:?subject=&amp;body= is null</p>
  </blockquote>
  <p>Down below you find the code for main.dart</p>
  <pre><code>import 'package:flutter/material.dart';
  import 'package:url_launcher/url_launcher.dart';
  
  void main() {
    runApp(const MyApp());
  }
  
  class MyApp extends StatelessWidget {
    const MyApp({Key? key}) : super(key: key);
  
    // This widget is the root of your application.
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: const MyHomePage(title: 'Flutter Demo Home Page'),
      );
    }
  }
  
  class MyHomePage extends StatefulWidget {
    const MyHomePage({Key? key, required this.title}) : super(key: key);
    final String title;
  
    @override
    State&lt;MyHomePage&gt; createState() =&gt; _MyHomePageState();
  }
  
  class _MyHomePageState extends State&lt;MyHomePage&gt; {
    @override
    Widget build(BuildContext context) {return Scaffold(
        body: Center(
          child: ElevatedButton(
            style: ButtonStyle(
              shape: MaterialStateProperty.all&lt;RoundedRectangleBorder&gt;(
                RoundedRectangleBorder(
                    borderRadius: BorderRadius.circular(18.0)),
              ),
            ),
            onPressed: () =&gt; launchEmail(
              toEmail: &quot;js&quot;,
              subject: &quot;dm&quot;,
              message: &quot;jd&quot;,
            ), child: Text(&quot;null&quot;),
          ),
        ),
      );
    }
  
    Future launchEmail({
      required String toEmail,
      required String subject,
      required String message,
    }) async {
      final url =
          &quot;mailto:$toEmail?subject=${Uri.encodeFull(subject)}&amp;body=${Uri.encodeFull(message)}&quot;;
      if (await canLaunch(url)) {
        await launch(url);
      }
    }
  }
  </code></pre>