Add Firebase
We will add Firebase to the code, Firebase is a BaaS (Backend-as-a-Service) offering a wide range of features that would be very complex to implement on your own.
Adding Firebase to a mobile or web app used to be a long and painful process.
Firebase CLI https://firebase.google.com/docs/flutter/setup?platform=android
Use flutterfire CLI to either create a new Firebase project or use an existing
This will create a new file -> firebase_options.dart and other files
Update pubspec.yaml with
We need to initialise firebase now
Modify MyApp class -> build method
Run the App, Restart
Last updated