Testing Complete Platform
This page describes the steps for testing of complete taxi platform. Before continuing make sure you have setup all the 3 apps separately.
Last updated
This page describes the steps for testing of complete taxi platform. Before continuing make sure you have setup all the 3 apps separately.
Last updated
Before proceeding further, please make sure that you have completed all the steps from
Go to Driver app. (You must have approved this driver from Admin App)
Refresh the app to see the driver profile appears now, as shown below.
It shows the following error "Firebase Error - the query requires index and you can create it here".
Click on the Link given in Above error to Create Index. Firebase Index is a way to search using complex queries. So without these enabled you will be facing issues in the app.
Click on Above link will open a your firebase project console in your browser with the title “Create a composite index”, as shown below. Click on “Create index”.
It should show the status as "Building" for the composite index as shown below. This may take a long time to build index. So wait for it to be completed. It may take 2-3 minutes.
After the status changes to "Enabled" (Sometime it doesn't change the status - but a simple alert comes on completion of index) . Open you Driver App running in the browser and refresh it to see that error is fixed. You will need to build one more index in this app as coming up next.
Go to User App and book a ride again. It has a default 60 seconds timeout period so you can quickly jump to Driver app after this.
Open Driver App switch the offline to online mode . Here also you will need to build an index which is required to search for rides. So repeat same steps to build the index. Screens are given below.
Click on Create index
Wait for status to change to Enabled or appearance of Completion Alert
Go back to User App and book a ride.
Jump to Driver App . You should see a Ride Alert
Driver App - Once you Accept the ride, the app will show you Go to Pick up status, after which driver should go to the pick up location of the user.
User App will show that driver has been assigned
Driver App - Go to Pickup will not do anything significant in this testing case here. You can click on Start Ride.
After starting the Ride. Driver screen should look like this.
After starting the Ride. User screen should look like this.
Driver App - Driver completes the ride and user gets the notification
Admin App can be now used to check - Ride history. It generally shows all rides completed or cancelled. This can be customised by the developer.
You can click on a Ride Card and check its details.
This completes our sample Booking flow !! There are few more flows which you can explore the app in more detail via our Demo APK or Feature videos.