<?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 Aseel Awad on Medium]]></title>
        <description><![CDATA[Stories by Aseel Awad on Medium]]></description>
        <link>https://medium.com/@aseelawad8?source=rss-1a32945a480b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dcQ5d8ZEEAeREy8hjaqQfA.jpeg</url>
            <title>Stories by Aseel Awad on Medium</title>
            <link>https://medium.com/@aseelawad8?source=rss-1a32945a480b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 04:23:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aseelawad8/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[A Comprehensive Guide: Integrating Flutter project to Firebase using FlutterFire CLI]]></title>
            <link>https://medium.com/@aseelawad8/a-comprehensive-guide-integrating-flutter-project-to-firebase-using-flutterfire-cli-8acd99e9a573?source=rss-1a32945a480b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8acd99e9a573</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[flutterfire]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[cli]]></category>
            <dc:creator><![CDATA[Aseel Awad]]></dc:creator>
            <pubDate>Fri, 24 Mar 2023 15:04:40 GMT</pubDate>
            <atom:updated>2023-03-24T15:04:40.294Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4iChw5hsKbm01zS8L2bpug.png" /></figure><p>In this article, we’ll introduce you to some of the latest technologies that can simplify and speed up the development process for Flutter apps.</p><p>I’ll cover everything you need to know about Flutter, Firebase, and a powerful tool called FlutterFire CLI. By the end of this article, you’ll be equipped with the knowledge and tools you need to streamline build top-performing applications. So, let’s dive in!</p><h3>What we will cover in this article:</h3><ul><li>What is Flutter?</li><li>What is Firebase?</li><li>What is FlutterFire?</li><li>What is FlutterFire CLI?</li><li>Why you use FlutterFire CLI?</li><li>Installing FlutterFire CLI.</li><li>Integrating Firebase project to the Flutter App.</li></ul><h3>What is Flutter?</h3><p>Since you are reading this article, it’s probable that you already have some knowledge about Flutter. But if you’re new to Flutter, it’s an open-source mobile UI framework created by Google for building beautiful, natively compiled applications for Android, iOS, web, and desktop from a single code.</p><h3>What is Firebase?</h3><p>Firebase is a Backend as a Service(Baas) that provide multiple technologies for multiple platforms.</p><p>Available on Google Cloud, Firebase offers a range of advanced features that can be utilized to create apps. These include user authentication, data storage, push notifications, and app usage analysis, among many others.</p><h3>What is the FlutterFire?</h3><p>FlutterFire is a set of plugins that enable developers to integrate Firebase services into their Flutter applications.</p><h3>What is the FlutterFire CLI?</h3><p>Is a command-line interface tool that allows developers to manage, test and deploy their Firebase project and perform various Firebase operations from the command line.</p><p>It is designed to simplify the process of integrating Firebase services into Flutter apps by reducing the need for developers to switch between the terminal and the Firebase console.</p><h3>Why use the FlutterFire CLI?</h3><ol><li><strong>Simplifies Integration: </strong>Instead of manually configuring Firebase services and managing their dependencies, you can use FlutterFire CLI to automate these tasks and streamline your workflow.</li><li><strong>Reduces errors:</strong> FlutterFire CLI helps reduce errors that can occur during manual configuration, ensuring a smoother and more reliable integration process, reduce the risk of misconfigurations and other errors that can affect app functionality.</li><li><strong>Simplifies multi-platform development:</strong> FlutterFire CLI allows developers to register all apps from different platforms (e.g., iOS, Android, web) to the same Firebase project in one go, saving time and effort.</li><li><strong>Improved Productivity:</strong> By automating many of the tasks, FlutterFire CLI can save developers time and effort, enabling them to focus on building high-quality apps.</li></ol><blockquote>“Automation is good, so long as you know exactly where to put the machine.” Eliyahu Goldratt</blockquote><p>So, It’s time to explore how to install and use FlutterFire CLI</p><p><strong>Ready? Let’s go!</strong></p><h3>Installing FlutterFire CLI?</h3><p>FlutterFire CLI depends on Firebase CLI, so you need to install it. Here are the steps to install the Firebase CLI:</p><ol><li><strong>Install </strong><a href="https://www.nodejs.org/"><strong>Node.js</strong></a><strong> :</strong> The Firebase CLI requires Node.js to run. You can download and install the latest version from <a href="https://www.nodejs.org/"><strong>here</strong></a><strong>.</strong></li><li><strong>Install the Firebase CLI: </strong>Open a command line and run the following command to install the Firebase CLI globally:</li></ol><pre>npm install -g firebase-tools</pre><blockquote>If your terminal does not recognize this command, make sure to add the path to the Node.js and npm directories to the system’s environment variables, then run it as administrator.</blockquote><p>3. Verify that the installation was successful by running the following command:</p><pre>firebase --version</pre><p>Now, Let’s Install the FlutterFire CLI tool by running this command:</p><pre>flutter pub global activate flutterfire_cli</pre><p><strong>Congratulations!</strong> You have successfully installed the FlutterFire CLI on your machine. You are now ready to use it to manage your Firebase project and integrate Firebase services into your Flutter app. Get ready to take your app development to the next level!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*vjj7mVQIgvW5TUWyF_29Kg.gif" /></figure><h3>Integrating Firebase project to the Flutter App</h3><p><strong>Step 1: Create a Flutter project</strong></p><p>To create a new Flutter project, open up your terminal and type this command:</p><pre>flutter create firebase_example</pre><p><strong>Step 2:</strong> Add firebase core plugin to your project’s dependencies</p><p>Which is responsible for connecting your application to Firebase, is necessary before using any Firebase services. Run the following command to do so:</p><pre>flutter pub get firebase_core</pre><p><strong>Step 3: </strong>Configure Firebase for your Flutter app</p><pre>flutterfire configure</pre><p>This command will guide you through the process of adding Firebase to your project. You will need to select the Firebase project you want to use. If you already have an existing Firebase project, you can select it from the list of existing projects. If you don’t have, you can create a new project by selecting the “Create a new Firebase project” option.</p><blockquote><em>To select your choice, press the arrow keys on your keyboard.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*iDIa3ecbB5EvYU6qF8omQQ.png" /></figure><p>Then, we can choose the platforms we want to support:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kvb_ilYkO3JUkXuolHptiQ.png" /></figure><p>The CLI will generate the necessary configurations for the platforms you have selected, and a <strong>firebase_options.dart</strong> file along with some <strong>.json files</strong> will be created.</p><p>You can verify that the app is configured by checking your project in the Firebase Console and confirming that all selected platforms are connected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zFghw6hmmggplDEWjPev8w.png" /></figure><h3>Conclusion</h3><p>We covered a lot, from understanding what FlutterFire CLI is and why you should use it, to demonstrating how to set it up and use it with Firebase. By using FlutterFire CLI, you can avoid the hassle of manually connecting your project to Firebase and focus on adding features to your app instead.</p><p>Thank you for taking the time to read this article, I hope you found it informative.</p><blockquote>Remember, the key to success in any field is to keep learning and pushing yourself to new heights. So, stay motivated and keep exploring! I wish you all the best in your journey to becoming a senior Flutter developer.</blockquote><p>If you have any questions or feedback, please feel free to reach out to me on my social media accounts.</p><p>Happy coding! ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8acd99e9a573" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>