Description
Is your feature request related to a problem? Please describe.
As described in the Firebase docs, the List API allows the client to list all files and subdirectories inside a given folder. This is very helpful for when the contents of a directory are not known in advance, and avoids temporary workarounds (such as a Cloud Function that populates an index in Cloud Firestore)
Describe the solution you'd like
A list
and listAll
method for StorageReference
that provides access to the List APIs.
Additional context
Again, this removes the need for complicated and buggy workarounds, as well as minimizing the connection between Firebase services -- by introducing users to Cloud Function and Cloud Firestore, chances are something will go wrong as opposed to simply using Cloud Storage.