Ionic 5 - Taxi Booking Platform with Firebase
  • Ionic 5 Taxi Complete Platform using Firebase - User, Driver Admin Apps
  • Why use this Starter
  • Setup and Deployment
    • Initial Dev Environment Setup
    • Running the App (Web Browser)
    • Deploying app as PWA
    • Building App on device
  • How to Use this Starter
    • Taxi Booking Complete Setup
    • Taxi User App - Setup
    • Taxi Driver App - Setup
    • Taxi Admin App - Setup
    • Testing Complete Platform
  • Platform Features
    • User App
    • Driver App
    • Admin App
  • Firebase Setup
    • New Firebase Project Setup
    • Firebase Integration Into User App
  • Extra
    • App Specific Requirements
    • Add More Features
    • FAQs
    • Firebase Setup (Ionic 4 Version)
    • Firebase Functions (Ionic 4 version)
      • Overview
      • Firebase Function in Code
      • How to Deploy Firebase Functions
Powered by GitBook
On this page
  • Deploy Firebase function on your own Firebase project
  • Replace existing Firebase Function URLs
  • User App
  • Driver App

Was this helpful?

  1. Extra
  2. Firebase Functions (Ionic 4 version)

How to Deploy Firebase Functions

PreviousFirebase Function in Code

Last updated 5 years ago

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.

Deploy Firebase function on your own Firebase project

To deploy Firebase functions to your own Firebase project, please follow the instructions given in

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

https://us-central1-cab-dashboard.cloudfunctions.net/getDriver

Following are the locations where you need to change the Firebase Function URLs

User App

  1. Request Ride Page - requestride.page.ts

Replace the URL for getDriver function -

https://us-central1-cab-dashboard.cloudfunctions.net/getDriver

with your own getDriver URL

Driver App

  1. Home Page - home.page.ts

Accept Ride

Replace

https://us-central1-cab-dashboard.cloudfunctions.net/acceptRide

with your own acceptRide URL

Reject Ride

Replace

https://us-central1-cab-dashboard.cloudfunctions.net/rejectRide

with your own rejectRide URL

Complete Ride

Replace

https://us-central1-cab-dashboard.cloudfunctions.net/completeRide

with your own completeRide URL

this detailed tutorial
LogoHow to implement Firebase Push notifications in IonicĀ 5 appsEnappd