How to Deploy Firebase Functions
This section is for the Ionic 4 version of this platform, where Firebase Functions were used to make the apps talk to each other. Ionic 5 version does not use Firebase Functions.
Deploy Firebase function on your own Firebase project
To deploy Firebase functions to your own Firebase project, please follow the instructions given in this detailed tutorial
Replace existing Firebase Function URLs
Once you deploy your own Firebase function on your own Firebase project, you'll get custom URLs for each function. These URLs need to be places in the User, Driver app for the platform to fully connect with your Firebase project.
A typical Firebase Function URL looks like this
Following are the locations where you need to change the Firebase Function URLs
User App
Request Ride Page -
requestride.page.ts
Replace the URL for getDriver function -
with your own getDriver URL
Driver App
Home Page -
home.page.ts
Accept Ride
Replace
with your own acceptRide URL
Reject Ride
Replace
with your own rejectRide URL
Complete Ride
Replace
with your own completeRide URL
Last updated