Cant get upload to work
Opened this issue · 4 comments
Didrikt commented
Hi,
Im trying to use this module, but i cant get it to work. Im getting undefined on the upload function (FirebaseStorage.upload)
hansemannn commented
Hi there! All main operations (upload, download, delete, etc.) are performed on the Reference
proxy. So you first need to get a reference using FirebaseStorage.referenceForPath(...)
and then call upload
on that one 🙂
Didrikt commented
Ah that makes sense! Thanks for the quick reply. What should be used as the path? Is it the bucket url or subfolder?
hansemannn commented
It's the folder