[firebase-storage] useStorageEmulator() should set default-bucket #7767
Unanswered
jarrodonlo
asked this question in
Feature request
Replies: 1 comment
-
Thank you for the advice. I was struggling for hours to connect StorageEmulators. It works after adding the suggested line. |
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
-
Calling
useStorageEmulator(host, port)
should also set thebucket = "default-bucket"
.Although Firebase Emulator uses "default-bucket" as bucket name...
(On package
firebase_storage
) callinguseStorageEmulator()
does not use this bucket by default, which seems like it would be expected behavior, as all users must do this manually. Instead, continuing to use bucket setup fromflutterfire
cli generatedFirebaseOptions
.Instead of doing one line...
the user must currently do two lines to use emulator...
this was a tripping point for myself, I feel like it will be for other new users.
Beta Was this translation helpful? Give feedback.
All reactions