Using Firestore as a backend to your Flutter app

Watch Andrew from the Flutter team integrate a Cloud Firestore database from Firebase into a Flutter app.

Flutter is Google’s mobile SDK for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Get started with Flutter →
Try the Firebase for Flutter codelab →
Join the conversation →…


  1. Oooooooooooooooooooh my good that's exactly what i was searching for thaaank you so much google i looooooove you man

  2. I've set this up but it wasn't so straightforward and took a lot of time… different versions of the plugins were incompatible and project settings needed to be modified for both Android and iOS.

  3. Let me take Google as a restaurant for an example.. as I enter the Google restaurant for a dine.. to pick the menu from the beginning to the end.. restaurant staff might come and mention me.. we're about to close.. lol ✌

  4. What about Google Cloud Datastore? Are there any examples of using that as a backend for Flutter projects?

  5. If I was in a band, I have would have not thought this much at first place. And if I tried to think that much, I would have smashed my guitar out of frustration.

  6. Hi, For me the streambuilder goes into some infinite waiting … I dont get data nor error. Where to check?

  7. Hey Andrew, thanks for the awesome video. I have a question. Let's say you log in with firebase and pull some data down e.g. your latest band votes/results. Now lets say you close the app completely, even from the background. Then you open it again with no internet. Will it still use the last data pulled from firestore, or will it use the default values that you demonstrated? Thanks

  8. I am getting error…..Firebase: Could not find the Android Application module.

  9. Great video, but what about the e2ee… using this approach the users data is visible to the firebase console manager, that is against the EU GDPR law…

  10. hi guys . is there a tutorial out there about how to set custom claims / role based auth / rolebased access contorll in flutter using firebase?

  11. my app stops whenever i run it. 'Unfortunatelly app has stopped'. Ididnt write any code, i just added the firestore.

  12. PlatformException(FirebaseException, An internal error has occurred. [ API key not valid. Please pass a valid API key. ], null.
    This error is coming while execution and just saying error signin.

  13. I love firebase, but lately using firebase on the ios side has been a pain in the ass. The latest project I started on takes 8 minutes to build when adding the auth and cloud_firestore plugins, and If I try to add the google_sign_in plugin the project simply won't compile. It works fine on Android but on iOS its a very different story. Could you please fix the plugin or update the docs to reflect any changes you have to make to your iOS project to get it to play nicely with firebase and google_sign_in

Leave a Reply

Your email address will not be published. Required fields are marked *