A Flutter and Firebase project template for Android, iOS, Linux, MacOS, Web and Windows.
This project uses FlutterFire to connect to Firebase.
flutterfire: ^0.5.3
Create Flutter Project on Firebase Console and get project's name.
dart-update:
dart pub global activate flutterfire_cli
flutter-fire:
flutterfire configure --project=[project-name]
- Create a new project in the Firebase Console.
- Add an Android app to your project: Follow the assistant, download
google-services.json
and place it inandroid/app
. - Add an iOS app to your project: Follow the assistant, download
GoogleService-Info.plist
and place it inios/Runner
. - Add a web app to your project: Follow the assistant, download
firebase-messaging-sw.js
and place it inweb
. - Add a Linux app to your project: Follow the assistant, download
google-services.json
and place it inlinux
. - Add a MacOS app to your project: Follow the assistant, download
GoogleService-Info.plist
and place it inmacos/Runner
. - Add a Windows app to your project: Follow the assistant, download
google-services.json
and place it inwindows
. - Enable Anonymous Authentication in the Authentication section of the Firebase console.
- Enable Cloud Firestore in the Database section of the Firebase console.
- Enable Cloud Storage in the Storage section of the Firebase console.
- Enable Cloud Messaging in the Cloud Messaging section of the Firebase console.
- Enable Cloud Functions in the Cloud Functions section of the Firebase console.
- Enable Firebase Hosting in the Hosting section of the Firebase console.
- Enable Firebase Crashlytics in the Crashlytics section of the Firebase console.
- Enable Firebase Performance Monitoring in the Performance Monitoring section of the Firebase console.
- Enable Firebase Remote Config in the Remote Config section of the Firebase console.
- Enable Firebase Test Lab in the Test Lab section of the Firebase console.
- Enable Firebase App Distribution in the App Distribution section of the Firebase console.
- Enable Firebase Dynamic Links in the Dynamic Links section of the Firebase console.
- Enable Firebase In-App Messaging in the In-App Messaging section of the Firebase console.
- Enable Firebase ML Kit in the ML Kit section of the Firebase console.
- Enable Firebase Realtime Database in the Realtime Database section of the Firebase console.