How to get a list of all files in Cloud Storage in a Firebase app?
I’m working on uploading images, everything works great, but I have 100 pictures and I would like to show all of them in my
View, as I get the complete list of the images in a folder, I can not find any API for this work.
Previous answer, since this approach can still be useful at times:
There currently is no API call in the Firebase SDK to list all files in a Cloud Storage folder from within an app. If you need such functionality, you should store the metadata of the files (such as the download URLs) in a place where you can list them. The Firebase Realtime Database and Cloud Firestore are perfect for this and allows you to also easily share the URLs with others.
Answered By – Frank van Puffelen