Logo Quiz icon

Configurer

Documentation

Guide de configuration pour Logo QuizVisuella

Firebase

Firebase powers Analytics, Crashlytics, Cloud Save (via Firestore), and app-side messaging. Setup is one command.

1. Create a Firebase project

Go to the Firebase Console and create a new project. You don't need to add Android or iOS apps by hand — the FlutterFire CLI does it for you.

Create Firebase project

2. Run flutterfire configure

From the repo root:

bash
flutterfire configure

The CLI walks you through:

  • Picking the Firebase project.
  • Registering the Android app (matches the applicationId you set in Identifiers).
  • Registering the iOS app (matches the bundle ID).
  • Writing google-services.json, GoogleService-Info.plist, firebase_options.dart, and firebase.json.

All four files are gitignored — they contain your project's public config, and they get rewritten each time you run flutterfire configure, so we never track them.

google-services.json location GoogleService-Info.plist location

3. Re-run when identifiers change

If you rename the app's Android package or iOS bundle ID after Firebase is set up, the existing config files no longer match. Run flutterfire configure again and select the same Firebase project — the CLI updates registrations and rewrites the four files.