<?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 Navaghan Dabhi on Medium]]></title>
        <description><![CDATA[Stories by Navaghan Dabhi on Medium]]></description>
        <link>https://medium.com/@dabhinavaghan1?source=rss-bbffad1af332------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ikQXKu4DOjGmt5qCZyl17w.png</url>
            <title>Stories by Navaghan Dabhi on Medium</title>
            <link>https://medium.com/@dabhinavaghan1?source=rss-bbffad1af332------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:34:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dabhinavaghan1/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[StocksControl: One Place to Track, Compare, and Decide on IPO Investments]]></title>
            <link>https://medium.com/@dabhinavaghan1/ipostockscontrol-one-place-to-track-compare-and-decide-on-ipo-investments-8b366c9467e7?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b366c9467e7</guid>
            <category><![CDATA[ipo-live]]></category>
            <category><![CDATA[ipo]]></category>
            <category><![CDATA[upcoming-ipo]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Wed, 24 Dec 2025 15:59:42 GMT</pubDate>
            <atom:updated>2025-12-24T18:21:28.814Z</atom:updated>
            <content:encoded><![CDATA[<p>Investing in IPOs sounds exciting, but finding <strong>accurate, structured, and up-to-date IPO data</strong> is still messy. Information is scattered across multiple websites, spreadsheets, and news articles — making decision-making harder than it should be.</p><p>That’s why we built <strong>StocksControl</strong> — a simple and focused platform to help investors <strong>track IPOs, analyze performance, and make better decisions</strong>.</p><h3>What StocksControl Offers</h3><h3>Current IPOs</h3><p>Simple, clean and easy to understand and get importent ipo info from ipo dashboard</p><p><a href="https://stockscontrol.com/">IPO Dashboard - StocksControl</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lD6sRgyzeTe6trWdLrD6Gg.png" /><figcaption>IPO Dashboard</figcaption></figure><h3>Current Ongoing IPOs</h3><p>Stay updated with IPOs that are <strong>currently open for subscription</strong>.<br> Get all essential details in one place:</p><ul><li>Price band</li><li>Lot size</li><li>Issue size</li><li>Subscription status</li></ul><p>No need to jump between multiple sources.</p><p><a href="https://stockscontrol.com/ipos/ongoing">Ongoing IPOs</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yCVAbWJMuK5B_4Y-sbpSKw.png" /><figcaption>Currunt Ongoing ipos</figcaption></figure><h3>Upcoming IPOs</h3><p>Know what’s coming next.<br>StocksControl lists <strong>upcoming IPOs</strong> with expected dates so you can plan capital allocation in advance.</p><p><a href="https://stockscontrol.com/ipos/upcoming">Upcoming IPOs</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yX3mM4ea_hO3F6s01qAuKQ.png" /><figcaption>Upcoming ipos</figcaption></figure><h3>Recently Closed IPOs</h3><p>Missed applying? No worries.<br> Track <strong>recently closed IPOs</strong> to understand:</p><ul><li>Final subscription numbers</li><li>Investor interest</li><li>Category-wise demand</li></ul><p><a href="https://stockscontrol.com/ipos/closed">Past IPOs</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vzkwYuS1UVGo0dhuZlsL-w.png" /><figcaption>past or recently cosed ipos</figcaption></figure><h3>Past IPO Performance</h3><p>This is where real learning happens.</p><p>We show <strong>historical IPO performance</strong>, including:</p><ul><li>Listing price</li><li>Listing gains or losses</li><li>Long-term returns</li></ul><p>This helps investors understand <strong>patterns, market sentiment, and sector-wise performance</strong>.</p><p><a href="https://stockscontrol.com/ipos/closed">Past IPOs</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vzkwYuS1UVGo0dhuZlsL-w.png" /></figure><h3>IPO Calendar</h3><p>A clean and simple IPO calendar dashboard view so you can instantly see:</p><ul><li>Open dates</li><li>Close dates</li><li>Listing dates</li></ul><p>Perfect for planning applications without missing deadlines.</p><p><a href="https://stockscontrol.com/ipo-calendar">StocksControl - IPO Research &amp; Analysis Platform</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YEZtjpbJxTILCanLHG8uNg.png" /><figcaption>Ipo calender dashboard</figcaption></figure><h3>Subscription Tracker</h3><p>Track real-time subscription data:</p><ul><li>Retail</li><li>HNI</li><li>QIB</li></ul><p>This helps you judge <strong>demand momentum</strong> before applying.</p><p><a href="https://stockscontrol.com/tools/subscription-tracker">StocksControl - IPO Research &amp; Analysis Platform</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ldEhrlLqlSxAlmL4j3yUg.png" /></figure><h3>Compare IPOs &amp; Make Better Decisions</h3><p>Confused between multiple IPOs?<br> StocksControl allows you to <strong>compare IPOs side-by-side</strong> based on:</p><ul><li>Valuation</li><li>Subscription</li><li>Past performance of similar companies</li></ul><p>This makes it easier to decide <strong>which IPO is worth investing in</strong>.</p><p><a href="https://stockscontrol.com/tools/compare-ipos">StocksControl - IPO Research &amp; Analysis Platform</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m3R_3HM4eRM2Dsb_NwR5xQ.png" /><figcaption>ipo camparison tool</figcaption></figure><h3>Check IPO Allotment Status</h3><p>Once the IPO is closed, you can <strong>check allotment status directly</strong> without visiting registrar websites separately.</p><h3>Why StocksControl?</h3><ul><li>Clean, fast, and data-focused</li><li>Built for retail investors</li><li>No Ads</li><li>Real time data</li><li>No noise, only relevant IPO insights</li><li>Complete IPO Lifecycle in One Place</li><li>Smart IPO Comparison</li><li>Real time Subscription Tracker That Matters</li><li>Intelligent Clean and Simple IPO Calendar</li><li>Direct Allotment Status -&gt; from registrar website</li></ul><p>Our goal is simple:<br> 👉 <strong>Make IPO research easy, transparent, and decision-driven</strong></p><p>Made with ❤️ by <a href="https://stockscontrol.com/">StocksControl</a> Team</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b366c9467e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Send SMS, MMS & iMessage in Flutter]]></title>
            <link>https://medium.com/@dabhinavaghan1/how-to-send-sms-mms-imessage-in-flutter-0a53fd71725a?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a53fd71725a</guid>
            <category><![CDATA[flutter-sms-plugin]]></category>
            <category><![CDATA[navaghan-dabhi]]></category>
            <category><![CDATA[send-sms-flutter]]></category>
            <category><![CDATA[flutter-imessage]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Sat, 13 Sep 2025 14:04:09 GMT</pubDate>
            <atom:updated>2025-09-13T14:04:09.095Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zcGQzQ4Zhe073TwaxhHUSA.png" /></figure><h3>🔍 Why This Guide?</h3><p>If you’ve ever searched <em>“how to send SMS in Flutter”</em> or <em>“Flutter SMS plugin 2025”</em>, you probably ran into outdated packages like flutter_sms. Many of them aren’t maintained anymore, causing bugs, compatibility issues, or missing features like MMS and iMessage.</p><p>That’s where the send_message plugin comes in. It’s an <strong>actively maintained, cross-platform solution</strong> to send <strong>SMS, MMS, and iMessage</strong> directly from your Flutter app.</p><p>In this guide, I’ll show you step by step how to:</p><ul><li>Install and set up the plugin</li><li>Send SMS and MMS in Flutter</li><li>Automatically handle iMessage on iOS</li><li>Troubleshoot and extend functionality</li></ul><h3>⚙️ Step 1: Add the Dependency</h3><p>In your pubspec.yaml:</p><pre>dependencies:<br>  send_message: ^1.0.2</pre><p>Run:</p><pre>flutter pub get</pre><p>📲 Step 2: Import the Package</p><pre>import &#39;package:send_message/send_message.dart&#39;;</pre><p>💬 Step 3: Send an SMS</p><pre>final result = await SendMessage.send(<br>  message: &quot;Hello from Flutter 🚀&quot;,<br>  recipients: [&quot;+1234567890&quot;],<br>);<br><br>print(&quot;Message status: $result&quot;);</pre><p>✅ Works on <strong>Android, iOS, and Web</strong>.<br> ✅ On iOS, it automatically sends via <strong>iMessage</strong> if available.</p><p>🖼 Step 4: Send an MMS (with Image)</p><pre>final result = await SendMessage.send(<br>  message: &quot;Check this out!&quot;,<br>  recipients: [&quot;+1234567890&quot;],<br>  attachments: [&quot;path/to/image.jpg&quot;], // local image file<br>);<br><br>print(&quot;MMS status: $result&quot;);</pre><h3>🛠 Troubleshooting Tips</h3><ul><li><strong>Simulator/Emulator</strong>: SMS/MMS won’t work on emulators (use a real device).</li><li><strong>Permissions</strong>: Ensure you add correct permissions in AndroidManifest.xml and iOS Info.plist.</li><li><strong>iMessage fallback</strong>: On iOS, if iMessage isn’t available, it falls back to SMS automatically.</li></ul><h3>🙋 Frequently Asked Questions (AEO Optimized)</h3><p><strong>Q1: How do I send an SMS in Flutter?</strong><br> Use the send_message plugin and call SendMessage.send() with your message and recipient list.</p><p><strong>Q2: Can Flutter send MMS with images?</strong><br> Yes ✅, using send_message you can attach images or files while sending messages.</p><p><strong>Q3: Does Flutter support iMessage?</strong><br> Yes, on iOS the plugin automatically detects and sends via iMessage if available.</p><p><strong>Q4: Is the plugin maintained?</strong><br> Yes, unlike older plugins (flutter_sms), send_message is actively maintained with regular updates.</p><p><strong>Q5: Does it work on Web?</strong><br> Yes, the Web support allows users to open their default messaging app via browser.</p><h3>🔗 Resources</h3><ul><li>📦 Pub.dev: <a href="https://pub.dev/packages/send_message">send_message</a></li><li>💻 GitHub: <a href="https://github.com/DabhiNavaghan/send_message">Repository link</a></li><li>🌐 Portfolio: <a href="https://navaghandabhi.dev/">navaghandabhi.dev</a></li></ul><h3>🚀 Conclusion</h3><p>Adding <strong>SMS, MMS, and iMessage functionality</strong> to your Flutter app in 2025 is easier than ever with the send_message plugin. It’s modern, cross-platform, and actively maintained — exactly what you need for production apps.</p><p>Give it a try, integrate it into your app, and let me know your feedback. Your users will love seamless communication directly from your app.</p><p>Thanks <br>Navaghan Dabhi<br><a href="https://navaghandabhi.dev/">https://navaghandabhi.dev/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a53fd71725a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Essential Metrics for Apps: How Big Companies Track Growth and Engagement]]></title>
            <link>https://medium.com/@dabhinavaghan1/essential-metrics-for-apps-how-big-companies-track-growth-and-engagement-cb64b9e3abec?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb64b9e3abec</guid>
            <category><![CDATA[growth-strategy]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[user-engagement]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[metrics]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Wed, 26 Feb 2025 08:58:34 GMT</pubDate>
            <atom:updated>2025-02-26T08:58:34.346Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o4bY-ps8SHwPgkUnSnJKSg.png" /></figure><h3>1. User Engagement &amp; Behavior Analytics</h3><p><strong>Tools:</strong> Google Analytics, Redash, Clarity, UXCam, CleverTap</p><h3>A. User Retention &amp; Engagement</h3><ul><li><strong>Daily Active Users (DAU) / Monthly Active Users (MAU)</strong> — Measures how many users actively engage with the app daily/monthly.</li><li><strong>Retention Rate</strong> — Percentage of users who return after X days (Day 1, Day 7, Day 30).</li><li><strong>Churn Rate</strong> — Percentage of users who stop using the app.</li><li><strong>Time Spent Per Session</strong> — How long users stay in the app per session.</li><li><strong>Session Frequency</strong> — How often users return within a time frame.</li><li><strong>Feature Adoption</strong> — How many users interact with new/existing features like bookmarks, reminders, or recommendations.</li></ul><h3>B. Conversion &amp; Activation</h3><ul><li><strong>User Onboarding Funnel Drop-off</strong> — Where users drop off during sign-up or first-time usage.</li><li><strong>Event Registration Conversion Rate</strong> — How many users register for events after browsing.</li><li><strong>Ticket Purchase Rate</strong> — Percentage of users who buy tickets after discovery.</li><li><strong>Push Notification CTR (Click-Through Rate)</strong> — How well notifications drive re-engagement.</li></ul><h3>2. User Journey &amp; Heatmaps</h3><p><strong>Tools:</strong> Clarity, UXCam, Google Analytics</p><ul><li><strong>Session Replays &amp; Heatmaps</strong> — Identify where users click, scroll, or drop off.</li><li><strong>Rage Clicks &amp; Friction Points</strong> — See where users struggle or tap multiple times.</li><li><strong>Navigation Flow Analysis</strong> — Understand the most common user paths.</li></ul><h3>3. Performance &amp; Stability Metrics</h3><p><strong>Tools:</strong> Crashlytics, Google Analytics</p><ul><li><strong>App Crash Rate</strong> — % of sessions where the app crashes.</li><li><strong>App Load Time</strong> — How long it takes to load pages and events.</li><li><strong>API Response Time</strong> — Speed of data retrieval from the backend.</li><li><strong>Error Rate</strong> — Percentage of failed requests, timeouts, or errors.</li><li><strong>ANR (Application Not Responding) Rate</strong> — How often the app becomes unresponsive.</li></ul><h3>4. Growth &amp; Acquisition Metrics</h3><p><strong>Tools:</strong> Google Analytics, CleverTap, Redash</p><ul><li><strong>Organic vs Paid Users</strong> — How many users come from organic search vs paid campaigns.</li><li><strong>Customer Acquisition Cost (CAC)</strong> — The cost to acquire a new user.</li><li><strong>LTV (Lifetime Value)</strong> — Average revenue generated per user before they churn.</li><li><strong>Referral Growth</strong> — % of users coming from referrals.</li><li><strong>Virality Coefficient</strong> — Measures how quickly users bring in new users.</li></ul><h3>5. Marketing &amp; Engagement Metrics</h3><p><strong>Tools:</strong> Google Analytics, CleverTap</p><ul><li><strong>Push Notification Open Rate</strong> — How many users open push notifications.</li><li><strong>Email Engagement Rate</strong> — Open rate and CTR for marketing emails.</li><li><strong>Campaign ROI</strong> — Return on investment for ad campaigns.</li><li><strong>Event Interest Trends</strong> — What types of events are getting the most interest over time.</li></ul><h3>6. Monetization &amp; Revenue Analytics</h3><p><strong>Tools:</strong> Google Analytics, Redash</p><ul><li><strong>Revenue Per User (ARPU)</strong> — Average revenue per user.</li><li><strong>Event Ticket Revenue</strong> — Total revenue generated from ticket sales.</li><li><strong>Ad Revenue</strong> — If monetized via ads, revenue per 1,000 impressions (CPM).</li><li><strong>Subscription Metrics</strong> (if applicable) — Monthly Recurring Revenue (MRR), Churn Rate.</li></ul><h3>7. Personalization &amp; Recommendation Metrics</h3><p><strong>Tools:</strong> Google Analytics, UXCam, CleverTap</p><ul><li><strong>Personalized Recommendation CTR</strong> — How often users engage with recommended events.</li><li><strong>Search Success Rate</strong> — % of searches that lead to event clicks.</li><li><strong>Saved Events / Reminders Set</strong> — How many users save events for later.</li></ul><h3>8. Community &amp; Social Engagement Metrics</h3><p><strong>Tools:</strong> Google Analytics, CleverTap</p><ul><li><strong>User Reviews &amp; Ratings</strong> — Sentiment analysis on app store reviews.</li><li><strong>Social Shares</strong> — How many users share events via social media.</li><li><strong>User-Generated Content Participation</strong> — If users submit event reviews, comments.</li></ul><h3>How to Use This Data for Growth?</h3><h3>1. Improve Retention &amp; Engagement</h3><ul><li>Optimize onboarding to reduce drop-offs.</li><li>Use personalized recommendations based on past behavior.</li><li>Improve push notifications by testing different content &amp; timing.</li></ul><h3>2. Enhance User Experience</h3><ul><li>Fix UI/UX pain points identified in heatmaps &amp; session replays.</li><li>Reduce app crashes and improve load times.</li></ul><h3>3. Drive More Conversions</h3><ul><li>A/B test different event listing designs to improve ticket sales.</li><li>Use behavioral data to target users with relevant offers.</li></ul><h3>4. Scale Growth Efficiently</h3><ul><li>Identify high-performing acquisition channels.</li><li>Focus marketing on high LTV users.</li></ul><p>By tracking these metrics and improving based on insights, you’ll optimize your event discovery app for <strong>better user engagement, higher retention, and sustainable growth</strong>. Want me to help with setting up dashboards for any of these?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb64b9e3abec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[State Management in Flutter: A Complete Guide]]></title>
            <link>https://medium.com/@dabhinavaghan1/state-management-in-flutter-a-complete-guide-6497b9bd3b7e?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/6497b9bd3b7e</guid>
            <category><![CDATA[bloc]]></category>
            <category><![CDATA[getx-state-management]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[getx]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 12:40:50 GMT</pubDate>
            <atom:updated>2025-02-04T12:40:50.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1DIyCj7G-TuYb9weGYwnQ.jpeg" /></figure><p>Flutter is an excellent framework for building cross-platform mobile applications, but managing state efficiently is one of the biggest challenges developers face. With multiple state management solutions available, choosing the right one can be overwhelming. This guide provides a comprehensive comparison of different state management solutions in Flutter, helping you make an informed decision.</p><h3>What is State Management?</h3><p>State management refers to the way an application handles and updates UI data over time. In simple terms, it’s how data flows and changes in response to user interactions, API calls, or any other triggers. Effective state management ensures smooth performance, maintainability, and scalability of your Flutter app.</p><h3>Types of State Management in Flutter</h3><p>Flutter provides multiple ways to manage state, broadly classified into two categories:</p><ol><li><strong>Ephemeral (Local) State Management</strong> — Used for UI-specific state that doesn’t need to persist across multiple screens.</li><li><strong>Global State Management</strong> — Used when state needs to be shared across the application.</li></ol><p>Let’s dive into the popular state management solutions in Flutter.</p><h3>1. setState (Built-in)</h3><h4>When to Use:</h4><ul><li>Suitable for simple UI updates.</li><li>Best for local widget-level state management.</li></ul><h4>Pros:</h4><ul><li>Easy to implement.</li><li>No external dependencies.</li></ul><h4>Cons:</h4><ul><li>Not suitable for complex applications.</li><li>Can lead to performance issues if misused.</li></ul><h3>2. Provider (Official Solution)</h3><h4>When to Use:</h4><ul><li>Ideal for scalable applications.</li><li>Recommended by the Flutter team.</li></ul><h4>Pros:</h4><ul><li>Simple and lightweight.</li><li>Efficient, as it uses InheritedWidgets internally.</li></ul><h4>Cons:</h4><ul><li>Requires understanding of ChangeNotifier and ValueNotifier.</li><li>Boilerplate code for complex scenarios.</li></ul><h3>3. Riverpod (Improved Provider)</h3><h4>When to Use:</h4><ul><li>When you need a more scalable version of Provider.</li><li>Supports dependency injection.</li></ul><h4>Pros:</h4><ul><li>Type-safe.</li><li>Eliminates unnecessary rebuilds.</li><li>Works well with Flutter’s latest features.</li></ul><h4>Cons:</h4><ul><li>Requires additional learning curve.</li></ul><h3>4. GetX (Lightweight &amp; Reactive)</h3><h4>When to Use:</h4><ul><li>Ideal for building lightweight apps with minimal boilerplate.</li><li>Useful for applications requiring reactive programming.</li></ul><h4>Pros:</h4><ul><li>Minimal code.</li><li>Integrated navigation and dependency injection.</li><li>Fast performance.</li></ul><h4>Cons:</h4><ul><li>Can be difficult to scale for large projects.</li><li>Not officially recommended by the Flutter team.</li></ul><h3>5. Bloc (Business Logic Component)</h3><h4>When to Use:</h4><ul><li>Best for large-scale applications with well-structured logic.</li><li>Recommended when strict separation of concerns is needed.</li></ul><h4>Pros:</h4><ul><li>High scalability and maintainability.</li><li>Strict separation of UI and business logic.</li></ul><h4>Cons:</h4><ul><li>Requires extensive boilerplate.</li><li>Learning curve for beginners.</li></ul><h3>6. MobX (Reactive State Management)</h3><h4>When to Use:</h4><ul><li>Best for applications requiring reactive programming and minimal boilerplate.</li></ul><h4>Pros:</h4><ul><li>Automatically tracks state changes.</li><li>Reduces manual state handling.</li></ul><h4>Cons:</h4><ul><li>Less popular compared to Provider and Bloc.</li><li>Debugging can be tricky.</li></ul><h3>Which One Should You Choose?</h3><p>Choosing the right state management solution depends on your project requirements:</p><ul><li><strong>For simple apps:</strong> Use setState or Provider.</li><li><strong>For scalable apps:</strong> Consider Riverpod or Bloc.</li><li><strong>For reactive programming:</strong> GetX or MobX are good options.</li><li><strong>For enterprise applications:</strong> Bloc ensures a well-structured architecture.</li></ul><h3>Conclusion</h3><p>State management is a crucial aspect of Flutter development. Whether you’re working on a small or large-scale project, understanding different state management solutions will help you build efficient and maintainable apps. Choose the one that aligns best with your project requirements, team expertise, and long-term scalability.</p><p>Which state management solution do you prefer? Share your thoughts in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6497b9bd3b7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fetching Deferred Deep Linking with Flutter and AppsFlyer]]></title>
            <link>https://medium.com/@dabhinavaghan1/fetching-deferred-deep-linking-with-flutter-and-appsflyer-56760b01a3b0?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/56760b01a3b0</guid>
            <category><![CDATA[deeplink]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[appsflyer]]></category>
            <category><![CDATA[deferred-deep-link]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 06:27:15 GMT</pubDate>
            <atom:updated>2025-01-22T06:27:15.427Z</atom:updated>
            <content:encoded><![CDATA[<p>Deferred deep linking is a game-changer in modern mobile app development, offering seamless user experiences by routing users directly to specific app content, even if the app is not yet installed. Recently, I had the opportunity to implement deferred deep linking in a Flutter app using AppsFlyer, and I’m here to share my insights to help you navigate this journey.</p><p><strong>What is Deferred Deep Linking?</strong></p><p>Imagine you share a link with a friend promoting an event or a special feature in your app. The link is designed to take them directly to the content after opening the app. But what if they don’t have the app installed yet? That’s where deferred deep linking comes into play. It redirects users to the app store to install the app and then seamlessly takes them to the intended content once installed.</p><p>With tools like AppsFlyer, implementing this in Flutter becomes straightforward and efficient.</p><p>— -</p><p><strong>Why Use AppsFlyer for Deferred Deep Linking?</strong></p><p>AppsFlyer’s robust SDK provides:</p><p>- <strong>Dynamic Parameter Passing:</strong> Easily capture and use parameters like referral codes or campaign IDs.<br>- <strong>Seamless Integration:</strong> A developer-friendly SDK for Flutter.<br>- <strong>Insightful Analytics: </strong>Track user behavior and campaign effectiveness.</p><p>— -</p><p><strong>Steps to Implement Deferred Deep Linking in Flutter</strong></p><p>Here’s a step-by-step guide to setting up deferred deep linking in your Flutter app with AppsFlyer:</p><p>1. <strong>Set Up AppsFlyer</strong></p><p>Start by integrating the AppsFlyer SDK into your Flutter app:</p><p><strong>Add AppsFlyer to your pubspec.yaml</strong></p><blockquote>dependencies:<br> appsflyer_sdk: ^6.10.0</blockquote><p>2. <strong>Initialize the AppsFlyer SDK</strong></p><p>Initialize the SDK in your app’s `main.dart` file:<br>import ‘package:appsflyer_sdk/appsflyer_sdk.dart’;</p><blockquote>void main() {<br> WidgetsFlutterBinding.ensureInitialized();<br> final appsFlyerOptions = AppsFlyerOptions(<br> afDevKey: ‘YOUR_DEV_KEY’,<br> appId: ‘YOUR_APP_ID’,<br> showDebug: true,<br> );<br> final appsFlyerSdk = AppsflyerSdk(appsFlyerOptions);</blockquote><blockquote>runApp(MyApp(appsFlyerSdk: appsFlyerSdk));<br>}</blockquote><p>3. <strong>Retrieve Deferred Deep Link Data</strong></p><p>Use the `onInstallConversionData` callback to handle deferred deep linking data:</p><blockquote>appsFlyerSdk.onInstallConversionData((data) {<br> if (data != null &amp;&amp; data[‘is_first_launch’] == ‘true’) {<br> final deepLinkData = data[‘deep_link_value’];<br> // Navigate the user to the appropriate screen based on deep link data<br> print(‘Deferred Deep Link: $deepLinkData’);<br> }<br>});</blockquote><p>4. <strong>Test Your Setup</strong></p><p>AppsFlyer provides a OneLink Tester to verify your links. Create a link, append parameters like `?referral_id=test_user`, and test it on a device without the app installed.</p><p>— -</p><p><strong>Tips for a Smooth Integration</strong></p><p>1. <strong>Use Debug Logs</strong>: During development, set `showDebug: true` to monitor the SDK’s behavior.<br>2. <strong>Test Extensively</strong>: Ensure your links work across different scenarios (new installs, existing users, etc.).<br>3. <strong>Disable Logs in Production</strong>: Avoid exposing debug information by overriding `debugPrint` in release mode:</p><blockquote>void main() {<br> if (kReleaseMode) {<br> debugPrint = (String? message, {int? wrapWidth}) {};<br> }<br> runApp(MyApp());<br>}</blockquote><p>— -</p><p><strong>Wrapping Up</strong></p><p>Deferred deep linking enhances user acquisition strategies and simplifies onboarding by creating a seamless journey from link click to app interaction. With Flutter’s flexibility and AppsFlyer’s powerful SDK, you can deliver a robust deep linking experience.</p><p>Have you worked with deferred deep linking or AppsFlyer in your projects? Share your experiences or tips in the comments — let’s learn and grow together!</p><p>#Flutter #AppsFlyer #MobileDevelopment #DeepLinking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56760b01a3b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing share_pro: A Lightweight Flutter Package for Sharing with Status Tracking on iOS ]]></title>
            <link>https://medium.com/@dabhinavaghan1/introducing-share-pro-a-lightweight-flutter-package-for-sharing-with-status-tracking-on-ios-0c2a12233cb8?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c2a12233cb8</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[navaghan-dabhi]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter-plugin]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Sun, 19 Jan 2025 16:09:37 GMT</pubDate>
            <atom:updated>2025-01-19T16:09:37.999Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fyL_OGJMiuOfFFF_u7PHCw.jpeg" /></figure><p>Are you looking for a simple and efficient way to implement sharing functionality in your Flutter apps? Meet <strong>share_pro</strong>, a lightweight Flutter package designed to make sharing text content across Android and iOS platforms seamless. Whether you&#39;re building a personal app or a large-scale application, share_pro has got you covered!</p><h3>Why Choose share_pro?</h3><p>share_pro stands out with its <strong>unique feature of tracking the status of a share operation on iOS</strong>. Now, you can easily determine if your content was shared successfully, canceled by the user, or encountered an error.</p><h3>Key Features</h3><ul><li><strong>Cross-Platform Compatibility</strong>: Works seamlessly on both Android and iOS.</li><li><strong>Share Status on iOS</strong>: Monitor whether sharing was successful, canceled, or resulted in an error.</li><li><strong>Lightweight &amp; Simple API</strong>: Designed to minimize complexity and maximize efficiency.</li><li><strong>Null Safety</strong>: Fully supports null safety for modern Dart development.</li></ul><h3>How It Works</h3><p>Using share_pro is incredibly simple. Here’s how you can share text content and track the status:</p><pre>import &#39;package:share_pro/share_pro.dart&#39;;</pre><pre>final sharePro = SharePro();</pre><pre>void shareContent() async {<br>  try {<br>    final result = await sharePro.share(&#39;Hello, Flutter Community!&#39;);<br>    switch (result) {<br>      case ShareResult.shared:<br>        print(&#39;Content shared successfully!&#39;);<br>        break;<br>      case ShareResult.cancelled:<br>        print(&#39;User canceled the share operation.&#39;);<br>        break;<br>      case ShareResult.error:<br>        print(&#39;An error occurred during sharing.&#39;);<br>        break;<br>    }<br>  } catch (e) {<br>    print(&#39;Error: $e&#39;);<br>  }<br>}</pre><h3>What’s New in share_pro?</h3><ul><li><strong>Status Tracking for iOS</strong>: A unique feature to understand the result of a share operation.</li><li><strong>Minimal Platform-Specific Configuration</strong>: Works out of the box on iOS, with a simple manifest update for Android.</li></ul><h3>How to Get Started</h3><ol><li>Add share_pro to your project:</li></ol><pre>dependencies:   share_pro: ^1.0.3</pre><ol><li>Import the package and integrate it into your app.</li><li>For detailed setup and examples, visit the <a href="https://pub.dev/packages/share_pro?utm_source=chatgpt.com">official documentation</a>.</li></ol><h3>Check it Out Now!</h3><p>share_pro is a <strong>free and open-source</strong> Flutter plugin available on pub.dev. Start integrating seamless sharing functionality into your apps today.</p><p>For any queries or to share feedback, feel free to reach out via <a href="https://navaghandabhi.dev/">navaghndabhi.dev</a>. Your thoughts and contributions are always welcome!</p><h3>Spread the Word 🌍</h3><p>If you find share_pro helpful, don’t forget to star the package on GitHub and share it with the Flutter community. Together, let’s build better apps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c2a12233cb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Fetch Deferred Deep Links from Facebook Ads and Test Them]]></title>
            <link>https://medium.com/@dabhinavaghan1/how-to-fetch-deferred-deep-links-from-facebook-ads-and-test-them-12a596b69902?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/12a596b69902</guid>
            <category><![CDATA[facebook-ads]]></category>
            <category><![CDATA[deferred-deep-link]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[deep-link-flutter]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Sat, 11 Jan 2025 14:14:47 GMT</pubDate>
            <atom:updated>2025-01-11T14:14:47.525Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1_JxWvGAglPRw3J1fK9nAQ.jpeg" /></figure><p>Deferred deep links are a powerful tool to drive users to specific content or actions within your app, even if they haven’t installed it yet. By integrating deferred deep links via Facebook SDK, you can enhance user acquisition and re-engagement strategies for your app. This guide will walk you through the process of fetching deferred deep links from Facebook ads and testing their implementation effectively.</p><p>— -</p><p><strong>What Are Deferred Deep Links?</strong></p><p>Deferred deep links allow you to send users to a specific location in your app, even if they haven’t installed it yet. Once they install and open the app for the first time, the deep link directs them to the intended content seamlessly. For example, if you’re running an ad campaign for a product page in your e-commerce app, a deferred deep link ensures users land on that exact product page after installation.</p><p>— -</p><p><strong>Setting Up Facebook SDK for Deferred Deep Links</strong></p><p><strong>Step 1: Add Facebook SDK to Your App</strong></p><blockquote>1. <strong>Install the Facebook SDK:</strong><br> — For Android, add the SDK dependency to your `build.gradle` file:<br> <br> implementation ‘com.facebook.android:facebook-android-sdk:[latest-version]’<br> <br> — For iOS, add the Facebook SDK using CocoaPods by including it in your `Podfile`:<br> <br> pod ‘FBSDKCoreKit’, ‘~&gt; [latest-version]’</blockquote><p>2. <strong>Initialize the SDK:</strong><br> — For Android, initialize the SDK in your `Application` class:<br> java</p><blockquote>FacebookSdk.sdkInitialize(getApplicationContext());<br> AppEventsLogger.activateApp(this);<br> <br> — For iOS, initialize the SDK in your `AppDelegate` file:<br> swift</blockquote><blockquote>ApplicationDelegate.shared.application(application, didFinishLaunchingWithOptions: launchOptions)</blockquote><p>Step 2: <strong>Configure App Settings on Facebook</strong></p><p>1. Go to your Facebook App Dashboard.<br>2. Navigate to <strong>Settings &gt; Basic</strong> and ensure you’ve added your app’s bundle ID.<br>3. Go to <strong>Settings &gt; Advanced</strong> and enable “Deferred Deep Linking.”</p><p>Step 3: <strong>Fetch the Deferred Deep Link</strong></p><p>Use the following methods to fetch the deferred deep link once the app is installed and launched:</p><ul><li><strong>For Android:</strong></li></ul><p>java</p><blockquote>AppLinkData.fetchDeferredAppLinkData(this, new AppLinkData.CompletionHandler() {<br> <a href="http://twitter.com/Override">@Override</a><br> public void onDeferredAppLinkDataFetched(AppLinkData appLinkData) {<br> if (appLinkData != null &amp;&amp; appLinkData.getTargetUri() != null) {<br> Uri deepLink = appLinkData.getTargetUri();<br> // Handle the deep link<br> }<br> }<br> });</blockquote><ul><li><strong>For iOS:</strong></li></ul><p>swift</p><blockquote>AppLinkUtility.fetchDeferredAppLink { (url, error) in<br> if let error = error {<br> print(“Error fetching deferred deep link: \(error)”)<br> } else if let url = url {<br> // Handle the deep link<br> }<br> }</blockquote><p>— -</p><p><strong>Testing Deferred Deep Links</strong></p><p>Testing deferred deep links can be tricky, as it involves simulating the app install process. Here’s how to do it:</p><p>Step 1: <strong>Set Up a Test Ad Campaign</strong></p><p>1. Go to your Facebook Ads Manager.<br>2. Create a new ad campaign targeting app installs.<br>3. Add a deep link to the **Deep Link** field in the ad creative.</p><p>Step 2: <strong>Use Facebook’s App Ads Helper</strong></p><p>1. Visit [Facebook’s App Ads Helper](<a href="https://developers.facebook.com/tools/app-ads-helper/">https://developers.facebook.com/tools/app-ads-helper/</a>).<br>2. Select your app and use the tool to generate a test deferred deep link.<br>3. Copy the generated link.</p><p>Step 3: <strong>Simulate the Install Process</strong></p><p>1. Uninstall your app from the test device.<br>2. Use the generated deferred deep link to trigger the install process. (This typically involves clicking the link and being redirected to the app store.)<br>3. Reinstall and launch the app to confirm the deep link is processed correctly.</p><p>Step 4: <strong>Debug and Verify</strong></p><p>- <strong>For Android:</strong> Use `adb logcat` to check the logs for deep link handling.<br> ```bash<br> adb logcat | grep AppLinkData<br> ```<br>- <strong>For iOS:</strong> Use Xcode’s console to view logs related to `AppLinkUtility`.</p><p>— -</p><p><strong>Common Issues and Troubleshooting</strong></p><p>1. <strong>Deferred Deep Link Not Triggering:</strong><br> — Ensure you’ve enabled deferred deep linking in your Facebook app settings.<br> — Verify the deep link format and ensure it’s correctly set in the ad creative.</p><p>2. <strong>Deep Link Doesn’t Navigate to Desired Content:</strong><br> — Check your app’s intent filters (Android) or URL schemes (iOS).<br> — Confirm your app’s logic correctly parses and handles the deep link.</p><p>3. <strong>Error Fetching Deferred Deep Link:</strong><br> — Ensure the Facebook SDK is properly initialized before fetching the link.<br> — Check network connectivity, as deferred deep link fetching requires an active internet connection.</p><p>— -</p><p><strong>Conclusion</strong></p><p>Deferred deep links bridge the gap between user acquisition and engagement by ensuring a seamless post-install experience. By implementing the Facebook SDK and thoroughly testing your setup, you can drive targeted traffic to specific in-app content, enhancing user satisfaction and campaign ROI.</p><p>Got questions or tips on deferred deep links? Let me know in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12a596b69902" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simplifying Deferred Deep Linking with Flutter and AppsFlyer]]></title>
            <link>https://medium.com/@dabhinavaghan1/simplifying-deferred-deep-linking-with-flutter-and-appsflyer-a747c25baf4c?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/a747c25baf4c</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[deferred-deep-link]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[deep-link-flutter]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Sat, 11 Jan 2025 05:27:32 GMT</pubDate>
            <atom:updated>2025-01-11T05:27:32.458Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EZdELtTDvqlduBPhRa-uwA.jpeg" /></figure><p>Deferred deep linking is a game-changer in modern mobile app development, offering seamless user experiences by routing users directly to specific app content, even if the app is not yet installed. Recently, I had the opportunity to implement deferred deep linking in a Flutter app using AppsFlyer, and I’m here to share my insights to help you navigate this journey.</p><p><strong>What is Deferred Deep Linking?</strong></p><p>Imagine you share a link with a friend promoting an event or a special feature in your app. The link is designed to take them directly to the content after opening the app. But what if they don’t have the app installed yet? That’s where deferred deep linking comes into play. It redirects users to the app store to install the app and then seamlessly takes them to the intended content once installed.</p><p>With tools like AppsFlyer, implementing this in Flutter becomes straightforward and efficient.</p><p>— -</p><p><strong>Why Use AppsFlyer for Deferred Deep Linking?</strong></p><p>AppsFlyer’s robust SDK provides:</p><p>- **Dynamic Parameter Passing:** Easily capture and use parameters like referral codes or campaign IDs.<br>- **Seamless Integration:** A developer-friendly SDK for Flutter.<br>- **Insightful Analytics:** Track user behavior and campaign effectiveness.</p><p>— -</p><p><strong>Steps to Implement Deferred Deep Linking in Flutter</strong></p><p>Here’s a step-by-step guide to setting up deferred deep linking in your Flutter app with AppsFlyer:</p><p>1. <strong>Set Up AppsFlyer</strong></p><p>Start by integrating the AppsFlyer SDK into your Flutter app:</p><p><strong>Add AppsFlyer to your pubspec.yaml</strong></p><blockquote>dependencies:<br> appsflyer_sdk: ^6.10.0</blockquote><p>2. <strong>Initialize the AppsFlyer SDK</strong></p><p>Initialize the SDK in your app’s `main.dart` file:</p><p>import ‘package:appsflyer_sdk/appsflyer_sdk.dart’;</p><blockquote>void main() {<br> WidgetsFlutterBinding.ensureInitialized();<br> final appsFlyerOptions = AppsFlyerOptions(<br> afDevKey: ‘YOUR_DEV_KEY’,<br> appId: ‘YOUR_APP_ID’,<br> showDebug: true,<br> );<br> final appsFlyerSdk = AppsflyerSdk(appsFlyerOptions);</blockquote><blockquote>runApp(MyApp(appsFlyerSdk: appsFlyerSdk));<br>}</blockquote><p>3. <strong>Retrieve Deferred Deep Link Data</strong></p><p>Use the `onInstallConversionData` callback to handle deferred deep linking data:</p><blockquote>appsFlyerSdk.onInstallConversionData((data) {<br> if (data != null &amp;&amp; data[‘is_first_launch’] == ‘true’) {<br> final deepLinkData = data[‘deep_link_value’];<br> // Navigate the user to the appropriate screen based on deep link data<br> print(‘Deferred Deep Link: $deepLinkData’);<br> }<br>});</blockquote><p>4. <strong>Test Your Setup</strong></p><p>AppsFlyer provides a OneLink Tester to verify your links. Create a link, append parameters like `?referral_id=test_user`, and test it on a device without the app installed.</p><p>— -</p><p><strong>Tips for a Smooth Integration</strong></p><p>1. <strong>Use Debug Logs</strong>: During development, set `showDebug: true` to monitor the SDK’s behavior.<br>2. <strong>Test Extensively</strong>: Ensure your links work across different scenarios (new installs, existing users, etc.).<br>3. <strong>Disable Logs in Production</strong>: Avoid exposing debug information by overriding `debugPrint` in release mode:</p><blockquote>void main() {<br> if (kReleaseMode) {<br> debugPrint = (String? message, {int? wrapWidth}) {};<br> }<br> runApp(MyApp());<br>}</blockquote><p>— -</p><p><strong>Wrapping Up</strong></p><p>Deferred deep linking enhances user acquisition strategies and simplifies onboarding by creating a seamless journey from link click to app interaction. With Flutter’s flexibility and AppsFlyer’s powerful SDK, you can deliver a robust deep linking experience.</p><p>Have you worked with deferred deep linking or AppsFlyer in your projects? Share your experiences or tips in the comments — let’s learn and grow together!</p><p>#Flutter #AppsFlyer #MobileDevelopment #DeepLinking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a747c25baf4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Transfer Files from Mac to Android Using the Command Line]]></title>
            <link>https://medium.com/@dabhinavaghan1/how-to-transfer-files-from-mac-to-android-using-the-command-line-bbf1b95c7b15?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbf1b95c7b15</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[file-sharing]]></category>
            <category><![CDATA[macbook]]></category>
            <category><![CDATA[transfers]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 14:21:49 GMT</pubDate>
            <atom:updated>2025-01-06T14:21:49.660Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oal0jO_GKyZzgqX6sWgd1A.jpeg" /></figure><p>Transferring files between your Mac and Android device can be a seamless experience when you use the right tools. While there are various ways to transfer files (like using cloud services, Bluetooth, or USB cable), one powerful method for tech enthusiasts and developers is using the <strong>Android Debug Bridge (ADB)</strong>. In this blog post, we will walk you through how to transfer files from a Mac to an Android device directly via the command line.</p><h3>What is ADB?</h3><p>ADB is a versatile command-line tool that lets you communicate with your Android device from your computer. It can be used for a variety of tasks like installing apps, debugging, and transferring files. ADB is part of the Android SDK, but you can install it independently using Homebrew on macOS.</p><h3>Prerequisites</h3><p>Before we begin, there are a few things you need to have set up:</p><ol><li><strong>Install ADB on your Mac</strong>: We’ll use Homebrew to easily install ADB on macOS.</li><li><strong>Enable Developer Mode on your Android Device</strong>: You need to enable Developer Options on your Android phone to allow USB debugging.</li><li><strong>Connect your Android device to your Mac</strong>: Use a USB cable to physically connect your Android phone to your Mac.</li><li><strong>Ensure ADB is working</strong>: Verify the ADB connection by checking that your Android device shows up when connected.</li></ol><h3>Step 1: Install ADB on Your Mac</h3><p>If you haven’t installed ADB on your Mac yet, follow these simple steps:</p><ol><li><strong>Install Homebrew</strong> (if you don’t have it installed): Open the Terminal and run the following command:</li></ol><pre>/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</pre><p><strong>2. Install ADB</strong> using Homebrew: Run the following command to install ADB tools:</p><pre>brew install android-platform-tools</pre><p>Once installed, you can use ADB commands from your terminal.</p><h3>Step 2: Enable USB Debugging on Your Android Device</h3><ol><li>Go to <strong>Settings</strong> on your Android device.</li><li>Scroll down to <strong>About Phone</strong> and tap on it.</li><li>Find the <strong>Build Number</strong> section and tap it <strong>7 times</strong> to unlock Developer Options.</li><li>Now, go back to <strong>Settings</strong> and open <strong>Developer Options</strong>.</li><li>Enable <strong>USB Debugging</strong> by toggling the switch.</li></ol><h3>Step 3: Connect Your Android Device to Your Mac</h3><p>Using a USB cable, connect your Android phone to your Mac. You should see a prompt on your phone asking you to allow USB debugging. <strong>Make sure to allow it</strong>.</p><h3>Step 4: Verify ADB Connection</h3><p>Before transferring files, ensure your Mac recognizes your Android device. Run this command in the terminal:</p><pre>adb devices</pre><p>If everything is set up correctly, you’ll see your device listed. If it’s not showing up, try the following:</p><ul><li>Reconnect the USB cable.</li><li>Ensure USB debugging is enabled on the Android device.</li><li>Check that the device is unlocked.</li></ul><h3>Step 5: Transfer Files from Mac to Android</h3><p>Now that ADB is ready, you can start transferring files. Let’s say you have a file named Aum Mangalam Singlem 1080pp HD GUJ DesireMoVies.Expert 1.mkv in your Downloads folder on your Mac, and you want to move it to the <strong>Downloads</strong> folder on your Android device.</p><p>Use the adb push command like so:</p><pre>adb push &lt;/Users/Downloads/file&gt; &lt;/storage/emulated/0/Download/&gt;</pre><h3>Command Breakdown:</h3><ul><li><strong>Source</strong>: The file path on your Mac:</li></ul><pre>/Users/Downloads/file</pre><ul><li><strong>Destination</strong>: The path on your Android device:</li></ul><pre>/storage/emulated/0/Download/</pre><p>This command will transfer the file to the Download folder on your Android device’s internal storage.</p><h3>Step 6: Verify the Transfer</h3><p>Once the transfer is complete, open the <strong>File Manager</strong> app on your Android device and navigate to the <strong>Download</strong> folder. You should see the transferred file there.</p><h3>Troubleshooting Tips</h3><ul><li><strong>Permission Denied Error</strong>: If you encounter permission errors, ensure your Android device is unlocked, and USB debugging is allowed. You can also try restarting both your Mac and Android device.</li><li><strong>Device Not Recognized</strong>: If your device doesn’t show up when you run the adb devices command, make sure you’ve enabled USB debugging and accepted the USB debugging prompt on your Android device.</li><li><strong>Transfer Speed</strong>: If the file is large, the transfer might take some time. Make sure the connection between the devices is stable.</li></ul><h3>Conclusion</h3><p>Using ADB to transfer files from your Mac to your Android device is a fast and reliable method, especially if you’re comfortable with the command line. It’s a great option for developers, power users, or anyone who needs to transfer large files or troubleshoot Android devices.</p><p>Now that you know how to set up ADB and transfer files, you can explore more commands and even automate tasks like installing apps or syncing data.</p><p>Happy file transferring!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbf1b95c7b15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Would You Uninstall Mobile Apps Using the Command Line?]]></title>
            <link>https://medium.com/@dabhinavaghan1/why-would-you-uninstall-mobile-apps-using-the-command-line-a3fdea5c041a?source=rss-bbffad1af332------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3fdea5c041a</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[uninstall]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[Navaghan Dabhi]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 15:27:41 GMT</pubDate>
            <atom:updated>2025-01-02T15:31:02.979Z</atom:updated>
            <content:encoded><![CDATA[<p>How to uninstall the app using the command line?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nUbTB9WgV4IO7vse5WFvNQ.jpeg" /></figure><p><strong>Here’s Why It’s a Developer’s Superpower</strong></p><ul><li><strong>Introduction</strong></li></ul><p>Have you ever wondered why developers geek out over the command line? It’s not just for show. One surprisingly efficient trick up every developer’s sleeve is uninstalling mobile apps using the command line. Yes, you read that right — no swiping through endless settings menus or fiddling with your device’s storage screen. But why bother, and what’s in it for you as a developer? Let’s dive in!</p><h3>What Does It Mean to Uninstall Apps via the Command Line?</h3><p>For Android developers, the adb (Android Debug Bridge) tool is a game-changer. With a single command, you can remove apps directly from your connected device or emulator. The command looks something like this:</p><pre>adb uninstall com.example.myapp</pre><p>Simple, right? But before you jump in, let’s explore why this method is so popular among developers and when it might not be the best fit.</p><h3>Pros of Using the Command Line</h3><h4>1. Automation Made Easy</h4><p>Gone are the days of manually uninstalling apps for testing or debugging. With the command line, you can integrate app uninstalling into scripts and CI/CD pipelines, making it ideal for repetitive tasks.</p><h4>2. Speed and Precision</h4><p>Command-line operations are lightning-fast. You can target specific devices or emulators without touching a single button.</p><h4>3. Debugging Perks</h4><p>Need to test how your app behaves after a clean reinstall? The command line ensures all app data is wiped, giving you a fresh start every time.</p><h4>4. Cross-Platform Support</h4><p>Whether it’s a physical device or an emulator, adb commands work seamlessly across platforms. No extra tools or software are needed.</p><h4>5. Remote-Friendly</h4><p>Working remotely or testing on devices located elsewhere? The command line lets you manage apps without physical access to the device.</p><h3>Cons to Keep in Mind</h3><h4>1. Setup Complexity</h4><p>You’ll need to install and configure adb. For beginners, this might feel like a steep learning curve.</p><h4>2. Risk of Data Loss</h4><p>Uninstalling apps via the command line removes all associated data without a confirmation prompt. One wrong command, and your test data is history.</p><h4>3. Targeting Multiple Devices</h4><p>When multiple devices are connected, you need to specify the target device’s serial number. Forget this, and you might uninstall the app from the wrong device. For example:</p><pre>adb devices</pre><p>Output might look like this:</p><pre>List of devices attached<br>192.168.23.252:46143    device<br>adb-D6U1GHX000LH-LhhT1y._adb-tls-connect._tcp        device</pre><p>To uninstall from the second device:</p><pre>adb -s adb-D6U1GHX000LH-LhhT1y._adb-tls-connect._tcp uninstall com.example.myapp</pre><h4>4. No Visual Feedback</h4><p>Unlike GUI methods, the command line doesn’t give visual progress indicators. You’ll need to manually verify the success of the operation.</p><h3>Step-by-Step: How to Uninstall an App via Command Line</h3><ol><li><strong>Connect Your Device</strong></li></ol><ul><li>Plug in your device or launch your emulator.</li></ul><ol><li><strong>List Connected Devices</strong></li></ol><pre>adb devices</pre><ol><li>Identify the device you want to target.</li><li><strong>Run the Uninstall Command</strong></li></ol><pre>adb -s &lt;device_serial&gt; uninstall com.example.myapp</pre><ol><li><strong>Verify</strong> Check if the app is gone:</li></ol><pre>adb shell pm list packages | grep example</pre><h3>When to Use This Method</h3><h4>Ideal Scenarios:</h4><ul><li>Automating repetitive tasks in your testing workflow.</li><li>Working with multiple devices or emulators.</li><li>Debugging complex app issues requiring clean installs.</li></ul><h4>Avoid It If:</h4><ul><li>You’re uncomfortable with terminal commands.</li><li>You’re managing sensitive data and need confirmation steps.</li></ul><h3>Conclusion</h3><p>Uninstalling apps via the command line might seem like a minor trick, but it’s a massive time-saver for developers. It’s efficient, precise, and tailor-made for automation. So, the next time you’re deep into debugging or testing, ditch the manual hassle and embrace the power of the terminal. After all, why click a hundred buttons when a single line can do the job?</p><p>Ready to give it a try? Your inner developer will thank you.</p><h3>Share Your Thoughts</h3><p>Have you used the command line to uninstall apps before? Share your experiences or tips in the comments below!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3fdea5c041a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>