How to Deploy Firebase Functions
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
To deploy Firebase functions to your own Firebase project, please follow the instructions given in this detailed tutorial
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
Request Ride Page - requestride.page.ts
Replace the URL for getDriver function -
with your own getDriver URL
Home Page - home.page.ts
Replace
with your own acceptRide URL
Replace
with your own rejectRide URL
Replace
with your own completeRide URL