Taxi Admin App - Setup
This page describes how to set up the Taxi Admi App with Firebase Integration.
Last updated
This page describes how to set up the Taxi Admi App with Firebase Integration.
Last updated
Remember to enter your own GOOGLE API KEY in the source code in the place of YOUR_API_KEY. Without this api key, many functionalities might not work, especially maps. Check the docs for more info
It has 2 steps which are as follows. Make sure before these steps you must have completed the Initial Dev Environment Setup :-
Running the App (Web Browser)
Firebase Integration into our app
Here we will run our app in the Go to Running the App ( Web Browser) section to complete this step. Here we will run our app in the development mode.
After successfully this step you should be able to see the following screen of the Admin app. Click "Next" to login.
After successful login to the admin app, you should see the following screen (which shows Ride History)
Click on "Menu Bar" as shown below and click on "Drivers"
You should see the following screen with a list of "Approved" and "Not Approved" drivers for you taxi app.
But here you are not able to see the driver you just created from your driver app.
To see the updated list of drivers and approve the driver you added to your driver app follow the next step.
Go to Firebase Integration Into our App section to complete this step. Here we will setup the environment files in Ionic project to connect to right firebase instance. Previously it will have config to our sample firebase. If the connection is proper and rules and permissions are right. You should get your app working.
After completing the above step, go to the Admin App running in the browser (as shown below). It should show the driver account you created at your Driver App in the "Not Approved" list of drivers.
Approve the Driver as shown below.
The driver details should now shown in the approved section of "Drivers" as shown below.
Completed Admin App setup !!
Now we have successfully run the Admin App. We need to test "ride booking" flow in both user and Admin App now.
Go to the Testing Complete Platform section to move to next major step.