Skip to content

React Native Firebase Emulator on LAN environment #5750

Answered by mikehardy
ithustle asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately the emulator config is a little disjoint - auth takes a slightly different format than the others, but you may see how we configure them here, I believe you can replace "localhost" with a server IP in any of those and it should work?

firebase.database().useEmulator('localhost', 9000);
}
firebase.auth().useEmulator('http://localhost:9099');
firebase.firestore().useEmulator('localhost', 8080);
firebase.storage().useEmulator('localhost', 9199);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ithustle
Comment options

@ithustle
Comment options

Answer selected by ithustle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants