[firebase_storage] default or empty paths are not handled #1505
Labels
impact: customer
A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)
plugin: storage
type: bug
Something isn't working
Describe the bug
The plugin currently expects references to have an additional path. If the default bucket is used then no/empty path is submitted. Using
.child(path)
on a reference with an empty path results in a PlatformException. The plugin should check for the path before calling.child(path)
on a reference.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Return metadata
The text was updated successfully, but these errors were encountered: