Created
May 9, 2020 15:21
-
-
Save scriptpapi/edd7e152fb2c96b5640753e4ed43d6ac to your computer and use it in GitHub Desktop.
Firebase - Listing All Files in Storage Folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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