Documentation for CXUBR APPS
Flutter Installation:
To begin, ensure you have the latest version of Flutter installed, preferably version 3.X or higher. Regardless of your operating system (macOS, Windows, or Linux), follow these steps:
- Download the Flutter SDK and place it in your development folder.
- Add the Flutter bin directory to your system's PATH variable.
- For detailed instructions, refer to the official Flutter installation guide: Flutter Installation Guide.

Firebase Installation:
- Navigate to the Firebase console and sign in or create an account: Firebase Console.
- Create a new project in the Firebase console.

- Follow the setup instructions provided by Firebase for your project.

Firebase Integration with Flutter:
Before linking your Flutter project with Firebase, ensure Firebase CLI is installed on your machine. Follow these steps:
- Install Firebase CLI tools and authenticate your account by following the instructions provided in the Firebase CLI Documentation.

use the commands provided to install fierbase tools and login into your firebase account from your pc ,
then use the commands to inside the flutter to set up the firebase :
use the commands provided to install fierbase tools and login into your firebase account from your pc ,
Authentificaiton:
enable the email option:
Firestore:
enable access through out an auth:
add the necessary docs :
and make sure to add the pricing in the docs are set app baseFare , pricePerKm, pricePerMin
now we go the google cloud console to set app the goog map key :
then you create your app in this page , that we will add to the project later ,
we also need one last thing , which is the google cloud messagin for the notifications , which you car find in the cloud store and you need to enable :
by enabling it this key will appear in the settings of you firebase project that will halp us send notifications :
by doing all this we need to configure the last thing the flutter project which is the map and messaging key in flutter project :
here you will add both the keys that we have generated in this tutorial :
Additionnal info :you can change the pacackage name and the icon of the project using these two packages which are implimented in the project
enable the email option:
Firestore:
enable access through out an auth:
add the necessary docs :
and make sure to add the pricing in the docs are set app baseFare , pricePerKm, pricePerMin
now we go the google cloud console to set app the goog map key :
then you create your app in this page , that we will add to the project later ,
we also need one last thing , which is the google cloud messagin for the notifications , which you car find in the cloud store and you need to enable :
by doing all this we need to configure the last thing the flutter project which is the map and messaging key in flutter project :
here you will add both the keys that we have generated in this tutorial :
Additionnal info :you can change the pacackage name and the icon of the project using these two packages which are implimented in the project








.png)





Comments
Post a Comment