<?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 Shahreen Husne Rabbani on Medium]]></title>
        <description><![CDATA[Stories by Shahreen Husne Rabbani on Medium]]></description>
        <link>https://medium.com/@sh.rabbani4698?source=rss-3c177e195e89------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*u_dyJxIlnVACbg5D</url>
            <title>Stories by Shahreen Husne Rabbani on Medium</title>
            <link>https://medium.com/@sh.rabbani4698?source=rss-3c177e195e89------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:43:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sh.rabbani4698/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[Integrate firestore with flutter manually]]></title>
            <link>https://medium.com/@sh.rabbani4698/integrate-firestore-with-flutter-manually-67f9ab2e4451?source=rss-3c177e195e89------2</link>
            <guid isPermaLink="false">https://medium.com/p/67f9ab2e4451</guid>
            <dc:creator><![CDATA[Shahreen Husne Rabbani]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 10:20:05 GMT</pubDate>
            <atom:updated>2026-10-25T10:20:05.020Z</atom:updated>
            <content:encoded><![CDATA[<h4>Step 1: Create the Firebase project and add your Android app</h4><ol><li>Open the Firebase console, click <strong>Add project</strong>, and finish the wizard.</li><li>Click the Android icon and enter your package name. You’ll find it as applicationId in android/app/build.gradle.kts</li><li>Download google-services.json and put it in android/app/.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*KKy7vlou89X2pR_B2cTCcA.png" /></figure><h4>Step 2: Add the Google services plugin</h4><p>In android/settings.gradle, inside the plugins { } block: add <strong>one line</strong> to it. Keep your existing lines and version numbers as they are:</p><pre>plugins {<br>    id(&quot;dev.flutter.flutter-plugin-loader&quot;) version &quot;1.0.0&quot;<br>    id(&quot;com.android.application&quot;) version &quot;8.7.3&quot; apply false   // keep your own version<br>    id(&quot;org.jetbrains.kotlin.android&quot;) version &quot;2.1.0&quot; apply false // keep your own version<br>    id(&quot;com.google.gms.google-services&quot;) version &quot;4.4.2&quot; apply false  // &lt;-- ADD THIS<br>}</pre><p>In android/app/build.gradle, inside the plugins { } block:</p><pre>id &quot;com.google.gms.google-services&quot;</pre><p>In the same file, set minSdk to 23 under defaultConfig, since recent Firebase libraries require it:<br>(If your project uses .kts files, the syntax is id(&quot;com.google.gms.google-services&quot;).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*14ipCxfS1Pvr_JCsT1XGnw.png" /></figure><h4>Step 3: Create the Realtime Database</h4><ol><li>In the console, go to <strong>Build → Realtime Database → Create Database</strong>.</li><li>Pick a region and choose <strong>Start in test mode</strong>.</li></ol><h4>Step 4: Add the Flutter packages</h4><p>In a terminal inside your project:</p><pre>flutter pub add firebase_core firebase_database<br>flutter pub get</pre><h4>Step 5: Initialize Firebase</h4><p>paste this to lib.dart file</p><pre>void main() async {<br>  WidgetsFlutterBinding.ensureInitialized();<br>  await Firebase.initializeApp(); // reads google-services.json on Android<br>  // Connection check: prints true/false in the Run console<br>  db.ref(&#39;.info/connected&#39;).onValue.listen((e) {<br>    debugPrint(&#39;Firebase connected: ${e.snapshot.value}&#39;);<br>  });<br>  runApp(const MyApp());<br>}</pre><p><strong>Important:</strong> if you chose a region other than us-central1, your database URL differs from the default. In that case, use this wherever the code says FirebaseDatabase.instance:</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67f9ab2e4451" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Integrate Google Maps in Flutter]]></title>
            <link>https://medium.com/@sh.rabbani4698/how-to-integrate-google-maps-in-flutter-0681c3fe2422?source=rss-3c177e195e89------2</link>
            <guid isPermaLink="false">https://medium.com/p/0681c3fe2422</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[google-map-api]]></category>
            <dc:creator><![CDATA[Shahreen Husne Rabbani]]></dc:creator>
            <pubDate>Sun, 11 Oct 2026 09:26:50 GMT</pubDate>
            <atom:updated>2026-10-11T09:26:50.520Z</atom:updated>
            <content:encoded><![CDATA[<p>Flutter has become a popular framework for developing cross-platform mobile applications, and location-based features are now an essential part of many modern apps. Whether you’re displaying nearby restaurants, tracking deliveries, or marking specific locations on a map, Google Maps provides a powerful and flexible solution for adding these features to your Flutter project.</p><p>To achieve this in Flutter, we use the <strong>Google Maps Flutter plugin</strong>. In this article, I’ll walk you through the entire process of integrating Google Maps in a Flutter app, step by step.</p><h3>Get a Google Maps API Key</h3><ul><li>Go to the <a href="https://console.cloud.google.com/">Google Cloud Console</a>.</li><li>Create a new project (or select an existing one).</li><li>Navigate to APIs &amp; Services &gt; Library.</li><li>Search for Maps SDK for Android and Maps SDK for iOS<strong>,</strong> and enable them.</li><li>Go to APIs &amp; Services &gt; Credentials.</li><li>Click Create Credentials &gt; API Key.</li><li>Copy the generated API Key — we’ll need it soon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IsPvdO9GNMmvCFtnY-tcNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*E7Rys5M_ByDy5tM2VJ-ZXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WtBW7XM24G_vhGGXkNdCjQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VdLPZNa9OR78OfNUtwCuXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*D-S8dL96dE0Hd_mSCWqKDA.png" /></figure><h3>Add Dependency In Flutter Project</h3><p>In your pubspec.yaml, add the official plugin of the latest version:<br>Then run flutter pub get</p><pre>dependencies:<br>google_maps_flutter: ^2.12.3</pre><h3>Configure for Android and IOS</h3><p>For Android,<br>Open android/app/src/main/AndroidManifest.xml and add your API key inside the &lt;application&gt; tag:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KVDWPVshAASbsxnilyHrdQ.png" /></figure><p>For iOS, open ios/Runner/AppDelegate.swift .<br>Import the GoogleMaps and specify your API key in the application delegate ios/Runner/AppDelegate.swift</p><pre>import UIKit<br>import Flutter<br>import GoogleMaps<br>@UIApplicationMain<br>@objc class AppDelegate: FlutterAppDelegate {<br>  override func application(<br>    _ application: UIApplication,<br>    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?<br>  ) -&gt; Bool {<br>    GMSServices.provideAPIKey(&quot;YOUR_API_KEY_HERE&quot;)<br>    return super.application(application, didFinishLaunchingWithOptions: launchOptions)<br>  }<br>}</pre><p>For any dart file if you have to give key value then do this instead <br> pass the key when you run the app:</p><pre>flutter run --dart-define=MAPS_KEY=AIzaSy...your_key_here</pre><p>In Android Studio, put --dart-define=MAPS_KEY=... in Run &gt; Edit Configurations &gt; Additional run args. In VS Code, add it to args in launch.json.</p><p>If you paste the key into the file, don’t upload that file to GitHub.</p><h3>The map itself (native files, not Dart)</h3><p>The map tiles will not appear unless the key is also in the Android and iOS files. The Dart constant does not reach them.</p><ul><li><strong>Android:</strong> android/app/src/main/AndroidManifest.xml, in the &lt;meta-data android:name=&quot;com.google.android.geo.API_KEY&quot; .../&gt; line.</li><li><strong>iOS:</strong> ios/Runner/AppDelegate.swift, in GMSServices.provideAPIKey(&quot;...&quot;).</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0681c3fe2422" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>