You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use uploadFile - uploadFiles assumes you are passing a list of files, which requires pushing to the location provided - otherwise files in the list would run over each other.
The "ugly" you are describing is a unique id created by calling push at that location - this is common when you have a location storing multiple items.
@prescottprue
i use uploadFile and upload data to firestore but dbpath also create uuid , the function seem create collections when it store image data to firestore
canuploadFile create dbpath to doc not collections?
@Louis-Chen Which version of react-redux-firebase are you using, 2 or 3? Curious because I am having trouble with uploadFiles(storagePath, files, dbPath) using version 3.
prescottprue
changed the title
Could upload file without default uuid ?
feat(uploadFile): allow for upload meta to be written to a single firestore doc instead of just collections
Apr 18, 2019
when i upload file
like
it will produce new uuid and my database are ugly
firebase structure like
but i want a single file structure
like
could I ?
The text was updated successfully, but these errors were encountered: