<?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 Kumaran Karunakaran on Medium]]></title>
        <description><![CDATA[Stories by Kumaran Karunakaran on Medium]]></description>
        <link>https://medium.com/@skkumaran?source=rss-4ddb57e31d67------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yidiBFVuVB6Jda5BzcjVVA.jpeg</url>
            <title>Stories by Kumaran Karunakaran on Medium</title>
            <link>https://medium.com/@skkumaran?source=rss-4ddb57e31d67------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:49:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@skkumaran/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[ Let’s Get Deep… Linking in Flutter!]]></title>
            <link>https://medium.com/nammaflutter/lets-get-deep-linking-in-flutter-bb4fc1d9be93?source=rss-4ddb57e31d67------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb4fc1d9be93</guid>
            <dc:creator><![CDATA[Kumaran Karunakaran]]></dc:creator>
            <pubDate>Fri, 27 Jun 2025 07:02:00 GMT</pubDate>
            <atom:updated>2025-06-27T14:58:44.980Z</atom:updated>
            <content:encoded><![CDATA[<p>🚀 One Link to Rule Them All, and in the App Bind Them</p><p>Hey Flutter fam.. 👋,</p><p>Ever clicked a link and landed in <strong>the wrong app</strong>, <strong>wrong screen</strong>, or even worse… <strong>the App Store</strong> when you already have the app?! 😱</p><p>Yeah. That sucks.</p><p>Welcome to the world of <strong>deep linking</strong>, where links actually <em>do what they say</em>. Buckle up, because we’re diving deep — like Mariana Trench deep — into <strong>Flutter Deep Linking</strong>.</p><h3>🧠 So… What Even is Deep Linking?</h3><p>Imagine this:</p><blockquote><em>You get a WhatsApp message: </em>“Dude, check out this cool product 👉 https://myapp.com/product/42”</blockquote><p>You tap it, and <strong>BOOM 💥</strong>: your app opens <em>directly</em> on the Product #42 page.</p><p>No login screens.<br> No splash screen drama.<br> No spinning Flutter logo of death.</p><p>Just ✨instant gratification✨.</p><h3>💻 The Flutter Way (with ✨GoRouter✨ Magic)</h3><p>Let’s say your app has a <strong>HomePage</strong> and a <strong>ProductPage</strong>.</p><pre>final router = GoRouter(<br>  routes: [<br>    GoRoute(path: &#39;/&#39;, builder: (context, state) =&gt; HomePage()),<br>    GoRoute(<br>      path: &#39;/product/:id&#39;,<br>      builder: (context, state) {<br>        final id = state.params[&#39;id&#39;];<br>        return ProductPage(productId: id!);<br>      },<br>    ),<br>  ],<br>);</pre><p>Boom 💥! That’s the routing sorted.</p><h3>🧲 Listen to Incoming Links Like a Psychic 🧘</h3><p>Add this magic to initState():</p><pre>uriLinkStream.listen((Uri? uri) {<br>  if (uri != null) {<br>    print(&quot;🔗 Incoming link: $uri&quot;);<br>    router.go(uri.path);<br>  }<br>});</pre><p>And yes, this works when the app is already open!</p><h3>🤖 Android Setup — Tell Android You’re the Chosen One</h3><p>In your AndroidManifest.xml, add this juicy intent filter:</p><pre>&lt;intent-filter android:autoVerify=&quot;true&quot;&gt;<br>  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;<br>  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;<br>  &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;<br>  &lt;data<br>    android:scheme=&quot;https&quot;<br>    android:host=&quot;myapp.com&quot;<br>    android:pathPrefix=&quot;/product&quot; /&gt;<br>&lt;/intent-filter&gt;</pre><p>And don’t forget to host assetlinks.json at:<br> <a href="https://myapp.com/.well-known/assetlinks.json"><strong>https://myapp.com/.well-known/assetlinks.json</strong></a></p><h3>🍏 iOS Setup — Where Apple Gets… Extra™</h3><ol><li>Go to Xcode &gt; Target &gt; Signing &amp; Capabilities</li><li>Add “Associated Domains”</li><li>Add:</li></ol><pre>applinks:myapp.com</pre><p>4. Upload your apple-app-site-association to your web server. (No .json extension!)</p><p>Apple likes its files mysterious and extension-free 🕵️‍♂️</p><h3>🧪 Testing Time — Summon the Deep Link Gods</h3><p><strong>Android ADB:</strong></p><pre>adb shell am start -a android.intent.action.VIEW \<br>  -d &quot;https://myapp.com/product/42&quot; com.your.app</pre><p><strong>iOS:</strong><br> Use Safari or the Xcode simulator. Or just pray to Tim Apple. 🙏🍎</p><h3>🎉 Wrapping Up</h3><p>Flutter + Deep Linking =<br> <strong>Better UX</strong> + <strong>Fewer Drop-offs</strong> + <strong>Happy Product Managers</strong></p><p>Once you implement this, your app will feel like a magical door that opens exactly where it should.</p><p>So next time someone sends you a boring old link… show them how it’s done the Flutter way. 🦄</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb4fc1d9be93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nammaflutter/lets-get-deep-linking-in-flutter-bb4fc1d9be93">🌀 Let’s Get Deep… Linking in Flutter!</a> was originally published in <a href="https://medium.com/nammaflutter">NammaFlutter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>