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.
Asked
Active
Viewed 165 times
0
-
Hi quinzo, was the information provided in the answer below useful. – Vaidehi Jamankar Sep 27 '22 at 06:27
1 Answers
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