


android/app directory of our Flutter project. We need to download the file and move it to the. It will lead us to the interface where we can get the google-services.json file which will link our Flutter app to Firebase Google services. We just need to copy it and paste it to the Android package name input field as shown in the screenshot below:Īfter that, you can simply click on the 'Register app' button. android/app/adle file of your Flutter project. The package name will be available in the. In order to add the package name of our flutter project, we need to locate it first. After you've clicked the Android icon, you will be directed to an interface asking for the Android package name. The registration process is platform-specific, so we are going to register for the Android platform. STEP 1: Register Firebase to Your Android App This will take us to the interface to register Firebase to our Flutter app.

So just click on the Android icon like what you see in the above screenshot. Here, we are going to set up Firebase for the Android platform. After the project has been set up, we will get a project console as shown in the screenshot below: Let's continue to the next step until the project has been created. Here, I've kept the project name simple – FlutterAdmob – as shown in the screenshot below: There we can simply click on 'Add a project' to get our project started.Īt first, a window will appear asking you to input your project's name. To create a Firebase project, we need to log in to Firebase and navigate to the Firebase console. You can find the setup guidelines in the official Firebase documentation for Flutter. But first, we need to create a Firebase project. How to Integrate Firebase Configurations with Flutterįirst, we are going to integrate Firebase services with our Flutter project. Finally, we will display a simple banner ad as a demo so you can see how AdMob works. After that, we'll configure them to the Flutter environment. The idea is to first learn how to set up a Firebase app as well as AdMob step by step. Here, we are going to learn how to integrate Google AdMob with your Flutter app's development ecosystem. And what better way to do that than Google's AdMob? AdMob is one of the easiest ways to monetize you app, and we'll see how in this article. Flutter also provides many customized app templates to help you get started.īut these days, once you build an app, you might want to monetize it. Many companies and developers are choosing to use Flutter to develop their apps, and you can see those apps in the market. The Flutter mobile application development framework is rapidly making its mark as one of the leading cross-platform app development tools out there today.
