0

Can I connect the firebase-functions-emulator with the remote authentication and firestore service? Currently it is connecting only to the other local emulators. I don't want to setup my db locally.

quinzo
  • 580
  • 2
  • 6
  • 21

1 Answers1

0

It's not possible to have the local Cloud Functions emulator respond to (or "trigger" on) events in a production database. You have to deploy your functions in order for them to execute in response to change in the cloud-hosted database. The local functions emulator only responds to changes in the locally emulated database. Refer the following to understand how to Connect your app to the Realtime Database Emulator

Check a similar example here.

Vaidehi Jamankar
  • 1,232
  • 1
  • 2
  • 10