

Product's Flutter plugin must already be imported into your Flutter app.įlutterfire configure, you need to re-run the command any time Note: For the FlutterFire CLI to add the appropriate Gradle plugin, the Product-specific Gradle plugins to your Flutter app. (for Crashlytics or Performance Monitoring on Android) Adds the required Identifiers for each platform you selected. Note: This Firebase config file contains unique, but non-secret Many Firebase products, like Crashlytics and Remote Config.Ĭreates a Firebase configuration file ( firebase_options.dart) and adds it In your project, which enables you to have an optimal experience using
#Android studio flutter how to#
Note: Here are some tips about setting up andįor adding apps to a Firebase project, including how to handle Your current Flutter project configuration. If you already have apps registered in an existingįirebase project, the FlutterFire CLI will attempt to match them based on

You can select either to use an existing Firebase project or to create a For each selected platform, the FlutterFire CLI creates a new The flutterfire configure workflow does the following:Īsks you to select the platforms (iOS, Android, Web) supported in yourįlutter app. Use the FlutterFire CLI to configure your Flutter apps to connect to Firebase.įrom your Flutter project directory, run the following command to start theĪpp configuration workflow: flutterfire configure Step 2: Configure your apps to use Firebase Install the FlutterFire CLI by running the following command from anyĭirectory: dart pub global activate flutterfire_cli Log into Firebase using your Google account by running the following Step 1: Install the required command line tools If you don't already have a Flutter app, you can complete the GetĬreate a new Flutter app using your preferred editor or IDE. Operating system, including the following:

