Integrating Firebase into a Flutter app

There are a few steps required in order to integrate a Cloud Firestore database into a Flutter app, as follows:

  1. Create a Firebase project. You can do this in the Firebase console. You'll need to log in. If you already have any Google account, such as Gmail, you can use that for your Firebase projects.
  2. Create a Firestore database instance, then insert collections and documents as required.
  3. Register your Android and/or iOS app in your project, and download the configuration file that will be created in the process. If you are planning to release your app on both platforms, you'll need to repeat the process for each operating system.
  4. Create your Flutter project and add the configuration files downloaded previously.
  5. Add Google services to your projects (platform-specific).
  6. Add dependencies to the pubspec.yaml file.

We have already performed Steps 1 and 2 in the task list outlined at the end of the previous section, so let's now see how to deal with the remaining steps.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.210.71