Can't get firestore emulator working with ngrok #6176
Unanswered
pyramid-scheme-ceo
asked this question in
Q&A
Replies: 2 comments
-
Looking at old issues / discussions: this is not new information for you, as I believe you discovered the root cause yourself, but in firebase.json you may set the host to '0.0.0.0' to listen on all interfaces, and then I think you may connect? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@pyramid-scheme-ceo were you able to solve this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, just wondering if anyone has successfully managed to use the firestore emluator with ngrok?
My setup is:
It's worth noting that:
data-access.ts
in the example below, there are no imports from@react-native-firebase/firestore
(although there are imports to other sub-packages in other parts of the app in case that would affect things).My minimum-reproducible example is as follows:
When running the app (with any of those URL formats), I get the following error:
Which I'm taking to mean some sort of inability to reach the emulator 😞
Here's my firebase/ngrok setup in case I'm missing something obvious too:
Beta Was this translation helpful? Give feedback.
All reactions