Skip to content

Instantly share code, notes, and snippets.

@scriptpapi
Created May 9, 2020 15:21
Show Gist options
  • Save scriptpapi/edd7e152fb2c96b5640753e4ed43d6ac to your computer and use it in GitHub Desktop.
Save scriptpapi/edd7e152fb2c96b5640753e4ed43d6ac to your computer and use it in GitHub Desktop.
Firebase - Listing All Files in Storage Folder
Firebase.storage().ref(this.state.User.uid).listAll()
.then((result) => {
result.items.forEach((imgRef) => {
console.log("ListAll > " + imgRef.fullPath)
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment