<?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: Fares Mohamed</title>
    <description>The latest articles on DEV Community by Fares Mohamed (@fares_mohamed).</description>
    <link>https://dev.to/fares_mohamed</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%2F2625319%2F01cff64c-97be-4934-a522-c6dfe474d905.png</url>
      <title>DEV Community: Fares Mohamed</title>
      <link>https://dev.to/fares_mohamed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fares_mohamed"/>
    <language>en</language>
    <item>
      <title>Looking for a Flutter solution for background/killed app notifications based on proximity</title>
      <dc:creator>Fares Mohamed</dc:creator>
      <pubDate>Thu, 30 Oct 2025 11:04:46 +0000</pubDate>
      <link>https://dev.to/fares_mohamed/looking-for-a-flutter-solution-for-backgroundkilled-app-notifications-based-on-proximity-3c0l</link>
      <guid>https://dev.to/fares_mohamed/looking-for-a-flutter-solution-for-backgroundkilled-app-notifications-based-on-proximity-3c0l</guid>
      <description>&lt;p&gt;Hey devs! 👋&lt;/p&gt;

&lt;p&gt;I’m planning to build a Flutter app with two sides: a sender and a potential receiver. The receiver could have the app open, in the background, or even killed.&lt;/p&gt;

&lt;p&gt;The idea is:&lt;/p&gt;

&lt;p&gt;When the sender sends a request, the app checks if the receiver is nearby (within 50 km).&lt;/p&gt;

&lt;p&gt;If they are, the receiver gets a notification like: “Someone nearby sent a request.”&lt;/p&gt;

&lt;p&gt;Ideally, it would also know the receiver’s location relative to the sender, but that’s optional.&lt;/p&gt;

&lt;p&gt;I’m aware that iOS and Android have strict background/killed app restrictions, so I’m looking for a reliable, cross-platform solution. If it only works on one platform, that’s fine too.&lt;/p&gt;

&lt;p&gt;If anyone has experience with:&lt;/p&gt;

&lt;p&gt;Background location tracking in Flutter&lt;/p&gt;

&lt;p&gt;Sending notifications from killed apps&lt;/p&gt;

&lt;p&gt;Proximity-based triggers&lt;/p&gt;

&lt;p&gt;…please share your approach or any guidance. Really appreciate it! 🙏&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>ios</category>
      <category>android</category>
    </item>
    <item>
      <title>Flutter Error AGP</title>
      <dc:creator>Fares Mohamed</dc:creator>
      <pubDate>Sun, 06 Apr 2025 15:03:23 +0000</pubDate>
      <link>https://dev.to/fares_mohamed/flutter-error-agp-53eg</link>
      <guid>https://dev.to/fares_mohamed/flutter-error-agp-53eg</guid>
      <description>&lt;p&gt;I Facing AGP Flutter Errors:&lt;/p&gt;

&lt;p&gt;FAILURE: Build failed with an exception.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;What went wrong:&lt;br&gt;
A problem occurred configuring project ':flutter_barcode_scanner'.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.&lt;br&gt;
Namespace not specified. Specify a namespace in the module's build file: /Users/faresmohamedmomen/.pub-cache/hosted/pub.dev/flutter_barcode_scanner-2.0.0/android/build.gradle. See &lt;a href="https://d.android.com/r/tools/upgrade-assistant/set-namespace" rel="noopener noreferrer"&gt;https://d.android.com/r/tools/upgrade-assistant/set-namespace&lt;/a&gt; for information about setting the namespace.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to &lt;a href="https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant" rel="noopener noreferrer"&gt;https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant&lt;/a&gt; for general information about using the AGP Upgrade Assistant.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Try:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Run with --stacktrace option to get the stack trace.&lt;br&gt;
Run with --info or --debug option to get more log output.&lt;br&gt;
Run with --scan to get full insights.&lt;br&gt;
Get more help at &lt;a href="https://help.gradle.org" rel="noopener noreferrer"&gt;https://help.gradle.org&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;BUILD FAILED in 5s&lt;br&gt;
Error: Gradle task assembleDebug failed with exit code 1&lt;/p&gt;

&lt;p&gt;Exited (1).&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
    </item>
    <item>
      <title>This is my first post!</title>
      <dc:creator>Fares Mohamed</dc:creator>
      <pubDate>Sat, 28 Dec 2024 13:33:00 +0000</pubDate>
      <link>https://dev.to/fares_mohamed/this-is-my-first-post-92n</link>
      <guid>https://dev.to/fares_mohamed/this-is-my-first-post-92n</guid>
      <description>&lt;p&gt;&lt;strong&gt;This is Bold Text&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Italic&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Live Demo: &lt;a href="//www.google.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Heading
&lt;/h2&gt;

&lt;p&gt;&lt;u&gt;Underline&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;del&gt;deprecated&lt;/del&gt;&lt;/p&gt;




&lt;p&gt;Line Divider&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open Google&lt;/li&gt;
&lt;li&gt;Type in search input&lt;/li&gt;
&lt;li&gt;Click Enter&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Egg&lt;/li&gt;
&lt;li&gt;Beef&lt;/li&gt;
&lt;li&gt;Tomato&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Abuzaid Quotes&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;.box {&lt;br&gt;
      width: 100px;&lt;br&gt;
      height: 100px;&lt;br&gt;
      display: inline-block;&lt;br&gt;
      margin: 20px;&lt;br&gt;
    }&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flf7ssfs2h3uksmt35z5t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flf7ssfs2h3uksmt35z5t.png" alt="Image description" width="376" height="312"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
    &amp;lt;title&amp;gt;Bootstrap demo&amp;lt;/title&amp;gt;
    &amp;lt;link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
    &amp;lt;h1&amp;gt;Hello, world!&amp;lt;/h1&amp;gt;
    &amp;lt;script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;a href="https://www.youtube.com/live/uarNiSl_uh4?si=6Ra9y06p--MhdyJC" rel="noopener noreferrer"&gt;
      youtube.com
    &lt;/a&gt;
&lt;/div&gt;



</description>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
