New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [firebase_core] Firebase.initializeApp fails with error when using Firebase Emulator demo project. #8898
Comments
Hi @Turburlar, Thanks for filing the issue After firebase initialization can you please try defining your settings by running FirebaseFirestore.instance
.useFirestoreEmulator('localhost', 8080, sslEnabled: false); |
I have updated my code to take into account your suggestion. The following code gives the same error...
|
@maheshmnj Can you remove the blocked:customer-response tag please. |
@Turburlar It was removed when you commented. |
@Turburlar
|
Here is the last version of my complete app. The same error as listed persists with the following code, which takes into account your suggestions...
|
Thanks for the update. Using the code sample above and initiating firebase emulator with the command provided above, I am getting same error as reported:
|
You haven't setup Firebase correctly. Ensure you have ran |
I am using the Firebase Emulator to develop.
I am using a Firebase Emulator demo project that has no associated firebase/gcp cloud project actually created.
A demo project is defined here: https://firebase.google.com/docs/emulator-suite/connect_firestore
I use the following command to start the emulator with a specific demo project name...
firebase emulators:start --project demo-test --only firestore
The emulator successfully starts and hosts at localhost:8080.
Then when I try to run initializeApp in my Firebase Project as follows...
I get the following error...
The expected behaviour is that Firebase should be able to be initialized with a pure emulator demo project.
The text was updated successfully, but these errors were encountered: