[Firebase Core] [Emulator] How to Initialize firebase to use emulator with demo project #6988
Unanswered
debkanchan
asked this question in
Q&A
Replies: 0 comments
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.
-
It is recommended that we should use demo projects (projects starting with
demo-
) in emulators so that the app does not accidentally interact with live project resources.However, I'm finding it difficult to setup flutter firebase to talk to the demo project. Even with
FirebaseOptions
provided it does not work correctly.Flutter Setup:
Emulator startup command:
firebase emulators:start --export-on-exit=./data --import=./data --project demo-project
Expected Behaviour:
user accounts are created and visible
Firestore docs can be CRUD'ed and visible in emulator UI
storage items go to the default bucket
Actual Behaviour:
user accounts are created and visible
Firestore docs can be CRUD'ed but NOT visible in emulator UI
storage items go to real app bucket on emulator (
real-app-id.appspot.com
)Beta Was this translation helpful? Give feedback.
All reactions