1. Home
  2. Docs
  3. Documentation
  4. Firebase Integration
  5. Link Firebase Account to Your Mobile App

Link Firebase Account to Your Mobile App

Once you’ve created the app, Firebase will generate a configuration file for you. You will add this file in your Flutter app. This is how the Flutter app can use your own Firebase backend. To do that, just download the configuration file and replace the existing mock files:

  • iOS: Download the GoogleService-Info-plist file and override the existing ios/NameOfApp/GoogleService-Info.plist file.
  • Android: Download the google-service.json file and replace the existing android/app/google-service.json file.

If you already had an app in Firebase, you can find and download this configuration file in Firebase Console -> Project Settings.

firebase react native

That’s it. Now, when you run your brand new Flutter template, the mobile app will use your own Firebase backend, as opposed to our default one. Make sure you add all the tables and the required data in your Firebase so that the app will have items to display (e.g. food categories, chat messages, etc.). To quickly test the Flutter firebase integration, try registering a new user and see if they show up in Firebase -> Authentication tab.