📄️ Create a Firebase Account
First of all, let’s start by creating your own Firebase account. Head over to
📄️ Configure a Firebase Project
Once you’ve created a Firebase account, you can host multiple Firebase Projects within it, that can host multiple mobile apps.
📄️ Enable Firebase Auth
To enable Firebase Auth, simply go to Firebase Console ->
📄️ Enable Firebase Firestore
In order to allow the mobile app to read and write data to/from Firebase Firestore, we need to set up the correct access permissions. To do that, just head over to Database -> Cloud Firestore and set the Rules for writes and reads to public.
📄️ Enable Firebase Storage
If your mobile app needs access to Firebase Storage (e.g. for uploading photos and videos, for instance), you have to enable Firebase Storage, so that the functionality works properly. To enable it, just go to Storage in the left menu. This is how your Storage rules need to look like in order for the app to function correctly:
📄️ 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.
📄️ Enable SMS Phone Authentication
To enable SMS authentication with Firebase, there are a few things we need to configure, that will allow the app to send SMS to the users.