Using local emulator for Auth / Firestore? #470
-
Hello guys, I'm trying to get the local emulators for Firestore and Auth working, but it seems it's not happening. Is it possible to use anonymous login with auth emulator? Or a way to test Firestore with local emulator in some way? My emulator UI and logs don't show any activity and Firestore.Auth does not load signup success and return res with userId in emulating mode :( I have set up the ports for emulators in my env file correctly. I am quite new to back-end, so hope someone can help. ^^' If any other info is needed, holler. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Hm. I have not setup the emulator in forever. I might have to see more of your setup in able to help, very hard to say based on what is written (not your fault, hard to know what is even needed). I'll try to get my local emulator back up and running today and take a look and let you know what I might need in order to make it work. Did you check the is emulating to true in the Firebase root scene? I think it's an exported variable on the root node. |
Beta Was this translation helpful? Give feedback.
-
Sorry, forgot to respond regarding the emulators. If you aren't on the paid plan, you will never be charged for it - it'll just curtail your usage. And in my experience with Firebase, your testing will never get to a point where you'll need the paid plan, unless you do something completely wrong by accident, like trying to implement a real-time game with it, tracking people's positions for instance. Even a normal turn-based multiplayer game is totally fine though. |
Beta Was this translation helpful? Give feedback.
Sorry, forgot to respond regarding the emulators. If you aren't on the paid plan, you will never be charged for it - it'll just curtail your usage. And in my experience with Firebase, your testing will never get to a point where you'll need the paid plan, unless you do something completely wrong by accident, like trying to implement a real-time game with it, tracking people's positions for instance. Even a normal turn-based multiplayer game is totally fine though.