Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 734 Bytes

FIREBASE_SETUP.md

File metadata and controls

17 lines (15 loc) · 734 Bytes

Firebase setup (local builds)

To generate the configuration files for Firebase, follow the steps below:

  • Create a Firebase account and add a new project.

  • Add a new web app to the project.

  • Install firebase CLI: curl -sL https://firebase.tools | bash

  • Install flutterfire CLI: dart pub global activate flutterfire_cli

  • Login to Firebase: firebase login

  • Generate config files: flutterfire configure

  • Disable github tracking of config files:

git update-index --assume-unchanged android/app/google-services.json
git update-index --assume-unchanged ios/firebase_app_id_file.json
git update-index --assume-unchanged macos/firebase_app_id_file.json
git update-index --assume-unchanged lib/firebase_options.dart