<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Usama Sarwar</title>
    <description>The latest articles on DEV Community by Usama Sarwar (@usamasarwar).</description>
    <link>https://dev.to/usamasarwar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F466944%2F276b31c5-ff56-4005-be34-8b1e46ee8697.png</url>
      <title>DEV Community: Usama Sarwar</title>
      <link>https://dev.to/usamasarwar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/usamasarwar"/>
    <language>en</language>
    <item>
      <title>Telegram Flutter Package Just Got a Big Update!</title>
      <dc:creator>Usama Sarwar</dc:creator>
      <pubDate>Sun, 16 Feb 2025 11:00:32 +0000</pubDate>
      <link>https://dev.to/usamasarwar/telegram-flutter-package-just-got-a-big-update-3708</link>
      <guid>https://dev.to/usamasarwar/telegram-flutter-package-just-got-a-big-update-3708</guid>
      <description>&lt;p&gt;Version 0.0.9 is here with powerful new features:&lt;/p&gt;

&lt;p&gt;📨 Send messages via Telegram&lt;br&gt;
🔗 Generate Telegram links&lt;br&gt;
📌 Copy links to the clipboard&lt;br&gt;
💬 Open chats directly&lt;br&gt;
📢 Join Telegram channels/groups&lt;br&gt;
✅ Check if Telegram is installed&lt;br&gt;
📞 Share contacts via Telegram&lt;br&gt;
👥 Open Telegram groups&lt;br&gt;
📷 Send media files&lt;br&gt;
🔍 Check username availability&lt;br&gt;
🤖 Open Telegram bots&lt;br&gt;
🔥 More features coming soon...&lt;/p&gt;

&lt;p&gt;If you're a Flutter developer looking for seamless Telegram integration, give it a try:&lt;/p&gt;

&lt;p&gt;📌 Install now: flutter pub add telegram&lt;/p&gt;

&lt;p&gt;Let me know what you think—your feedback makes this better!&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>telegram</category>
    </item>
    <item>
      <title>What’s new in Flutter 3.29</title>
      <dc:creator>Usama Sarwar</dc:creator>
      <pubDate>Thu, 13 Feb 2025 11:28:39 +0000</pubDate>
      <link>https://dev.to/usamasarwar/whats-new-in-flutter-329-104i</link>
      <guid>https://dev.to/usamasarwar/whats-new-in-flutter-329-104i</guid>
      <description>&lt;p&gt;Flutter 3.29 introduces performance enhancements and new features across various platforms. Key updates include improvements to the Cupertino and Material design libraries, offering greater customisation and fidelity. The release also focuses on web development enhancements, particularly regarding WebAssembly support and image handling. Furthermore, significant strides have been made with the Impeller rendering engine, improving stability and performance on Android and iOS. The update also provides improvements to Dart threading and DevTools for enhanced debugging and widget inspection, alongside discontinuing support for select packages. Finally, the release addresses breaking changes and deprecations, ensuring a smoother transition for developers.&lt;/p&gt;

&lt;p&gt;🎙️ &lt;a href="https://youtu.be/4akkLDa4nUc" rel="noopener noreferrer"&gt;Podcast: What’s new in Flutter 3.29&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>programming</category>
    </item>
    <item>
      <title>Firestore just made querying data in Flutter way more powerful! 🚀</title>
      <dc:creator>Usama Sarwar</dc:creator>
      <pubDate>Wed, 12 Feb 2025 07:45:48 +0000</pubDate>
      <link>https://dev.to/usamasarwar/firestore-just-made-querying-data-in-flutter-way-more-powerful-1djb</link>
      <guid>https://dev.to/usamasarwar/firestore-just-made-querying-data-in-flutter-way-more-powerful-1djb</guid>
      <description>&lt;p&gt;If you've ever struggled with complex filters in Firebase, you’ll love &lt;code&gt;Filter.and()&lt;/code&gt; and &lt;code&gt;Filter.or()&lt;/code&gt;. These let you easily combine multiple conditions without chaining &lt;code&gt;.where()&lt;/code&gt; calls endlessly. &lt;/p&gt;

&lt;h2&gt;
  
  
  🔥 AND queries:
&lt;/h2&gt;

&lt;p&gt;Need all conditions to be true? Just wrap them in &lt;code&gt;Filter.and()&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;and&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;isEqualTo:&lt;/span&gt; &lt;span class="s"&gt;"active"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;isEqualTo:&lt;/span&gt; &lt;span class="s"&gt;"admin"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  ⚡ OR queries:
&lt;/h2&gt;

&lt;p&gt;Need at least one condition to match? Use &lt;code&gt;Filter.or()&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;or&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;isGreaterThan:&lt;/span&gt; &lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"verified"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;isEqualTo:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  💡 Combining AND &amp;amp; OR:
&lt;/h2&gt;

&lt;p&gt;You can nest &lt;code&gt;Filter.and()&lt;/code&gt; and &lt;code&gt;Filter.or()&lt;/code&gt; for advanced queries without writing inefficient workarounds.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;and&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"country"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;isEqualTo:&lt;/span&gt; &lt;span class="s"&gt;"USA"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;or&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"premiumUser"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;isEqualTo:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="n"&gt;Filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"subscription"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;isGreaterThanOrEqualTo:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  ✨ Why use this?
&lt;/h2&gt;

&lt;p&gt;✅ Cleaner, more readable queries&lt;br&gt;&lt;br&gt;
✅ No more chaining &lt;code&gt;.where()&lt;/code&gt; for complex filters&lt;br&gt;&lt;br&gt;
✅ Firestore handles everything under the hood efficiently&lt;/p&gt;




&lt;p&gt;This makes querying Firestore data in Flutter much more flexible! 🚀 &lt;/p&gt;

&lt;p&gt;If you're still using old &lt;code&gt;.where()&lt;/code&gt; chains, it's time to upgrade. &lt;/p&gt;

&lt;p&gt;Who's already using &lt;code&gt;Filter.and()&lt;/code&gt; &amp;amp; &lt;code&gt;Filter.or()&lt;/code&gt;? &lt;/p&gt;

&lt;p&gt;Let me know your experience! 🔥&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>firebase</category>
      <category>firestore</category>
    </item>
    <item>
      <title>Success Story of Usama Sarwar</title>
      <dc:creator>Usama Sarwar</dc:creator>
      <pubDate>Thu, 06 Feb 2025 22:13:43 +0000</pubDate>
      <link>https://dev.to/usamasarwar/success-story-of-usama-sarwar-1938</link>
      <guid>https://dev.to/usamasarwar/success-story-of-usama-sarwar-1938</guid>
      <description>&lt;p&gt;🔥 The Wait is Over! 🔥&lt;br&gt;
You’ve always wondered about my journey—now it’s time to reveal it all! 🎙️✨&lt;br&gt;
Get ready for an exclusive episode of "Listen Up" where my untold story is shared, challenges, and what truly drives me.&lt;/p&gt;

&lt;p&gt;📅 Feb 07, 2025 ⏰ 08 AM 📍 YouTube → &lt;a href="https://youtu.be/jup6jwpzfwM" rel="noopener noreferrer"&gt;https://youtu.be/jup6jwpzfwM&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Don’t miss it—this one’s personal! 🚀&lt;/p&gt;

</description>
      <category>podcast</category>
      <category>motivation</category>
    </item>
    <item>
      <title>WordPress issue: Meta Pixel for WordPress plugin</title>
      <dc:creator>Usama Sarwar</dc:creator>
      <pubDate>Thu, 06 Feb 2025 09:29:08 +0000</pubDate>
      <link>https://dev.to/usamasarwar/wordpress-issue-meta-pixel-for-wordpress-plugin-10io</link>
      <guid>https://dev.to/usamasarwar/wordpress-issue-meta-pixel-for-wordpress-plugin-10io</guid>
      <description>&lt;p&gt;If your WordPress site is down and you can't access the admin panel, you're not alone. Thousands of websites just went offline due to a plugin issue.&lt;/p&gt;

&lt;p&gt;The Meta Pixel for WordPress plugin is the most common cause. But other plugins might be responsible too. How to Fix It:&lt;/p&gt;

&lt;p&gt;→ Enter Recovery Mode&lt;br&gt;
Go to: [yourwebsite.com]/wp-login.php?action=entered_recovery_mode&lt;br&gt;
Log in with your admin credentials.&lt;br&gt;
Deactivate the Meta Pixel for WordPress plugin.&lt;/p&gt;

&lt;p&gt;→ Check Your PHP Version&lt;br&gt;
Make sure it's 8.1 or higher. Older versions can cause conflicts.&lt;/p&gt;

&lt;p&gt;→ Update the Plugin&lt;br&gt;
If Meta Pixel caused the issue, updating it should fix the problem.&lt;/p&gt;

&lt;p&gt;If your site is still down, comment below with details. I'll help you troubleshoot.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>pixel</category>
      <category>metapixel</category>
    </item>
  </channel>
</rss>
