Create a Firebase project
1 Go to the Firebase Console: https://console.firebase.google.com
2 Click on "Add project."
3 Enter a name for your project and click on "Continue."
4 Enable or disable Google Analytics based on your preference and click on "Continue."
5 Select or create a Google Analytics account and click on "Create project."
6 Wait for the project to be created, then click on "Continue."
Connect With Project
1 In the Firebase Console, click on the "Android" or "iOS" icon, depending on the platform you want to connect.
2 Enter your app's package name (Android) or bundle ID (iOS). You can find this information in your AndroidManifest.xml
file (Android) or Info.plist
file (iOS).
3 Enter an app nickname and click on "Register app."
4 Download the google-services.json
(Android) or GoogleService-Info.plist
(iOS) file and add it to your Flutter project. Place it in the android/app
folder (Android) or the Runner folder (iOS) in your project directory.
5 Click on "Next."
Last updated