<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Joachim Mpanda on Medium]]></title>
        <description><![CDATA[Stories by Joachim Mpanda on Medium]]></description>
        <link>https://medium.com/@joachimmpanda97?source=rss-72a66a59bec3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*ZKskt-Mu3lUwNkhnjZMcug.jpeg</url>
            <title>Stories by Joachim Mpanda on Medium</title>
            <link>https://medium.com/@joachimmpanda97?source=rss-72a66a59bec3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 13:50:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joachimmpanda97/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Launch (Direct) another app from your flutter app]]></title>
            <link>https://medium.com/@joachimmpanda97/how-to-launch-direct-another-app-from-your-flutter-app-d1daa4687fe6?source=rss-72a66a59bec3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1daa4687fe6</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[whatsapp]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Joachim Mpanda]]></dc:creator>
            <pubDate>Mon, 19 Sep 2022 12:41:33 GMT</pubDate>
            <atom:updated>2022-09-19T12:41:33.771Z</atom:updated>
            <content:encoded><![CDATA[<p>Without redirecting to browser, we are going to launch another app from our flutter app iOS and Android. We will use WhatsApp for this tutorial.</p><p>You can also launch other apps too like google maps, waze etc</p><p>Use the function below, you will need to add flutter package <a href="https://pub.dev/packages/url_launcher">url_launcher</a></p><pre>launchWhatsApp() async {<br>  const url = &#39;whatsapp://send?phone=255634523&#39;;<br>  if (await canLaunchUrl(Uri.<em>parse</em>(url))) {<br>    await launchUrl(Uri.<em>parse</em>(url));<br>  } else {<br>    ScaffoldMessenger.<em>of</em>(context).showSnackBar(<br>        const SnackBar(content: Text(&quot;WhatsApp not installed&quot;)));<br>  }<br>}</pre><p>the String url stores the URL Scheme for Whatsapp, the numbers after = is the phone number do not include spaces or any symbols and start with country code</p><p>Each app that can be opened from another app has it’s own URL Scheme refer to the app’s documentation, for whatsapp <a href="https://faq.whatsapp.com/563219570998715/?locale=en_US">documentation</a></p><p>On iOS add this code to info.plist file</p><pre>&lt;key&gt;LSApplicationQueriesSchemes&lt;/key&gt;<br>&lt;array&gt;<br>   &lt;string&gt;whatsapp&lt;/string&gt;<br>&lt;/array&gt;</pre><p>now for Android inside your <strong>AndroidManifest.xml</strong> file add the following a package name of the app you want to launch, for whatsapp is <strong>com.whatsapp</strong></p><pre>&lt;queries&gt;<br> &lt;package android:name=&quot;com.whatsapp&quot; /&gt;</pre><pre>&lt;/queries&gt;</pre><p>you also going to add intent and URL scheme, this is required for Android 11(API 30) or higher</p><pre>&lt;queries&gt;</pre><pre> &lt;intent&gt;<br>    &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;<br>    &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;<br>    &lt;data android:scheme=&quot;whatsapp&quot; /&gt;<br> &lt;/intent&gt;<br>&lt;/queries&gt;</pre><p>it should look something like this, also remember to add INTERNET permission</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IrGCb3c5S_vHl61NAZNwBg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1daa4687fe6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>