can you get more than one download URL at once in firestore storage?

Viewed 13

I have a path in my bucket that has 10 images can I get the downlead URL of all those 10 images at once in a similar way when you for each doc fields in getDoc() ? or it it stricted to only one at time and to only a specific file name refrence?

const storage = getStorage();
getDownloadURL(ref(storage, 'images/1.jpg'))
  .then((url) => {
  }
  
  
  
const storage = getStorage();
getDownloadURL(ref(storage, 'images/'))
  .then((url) => {
  // all the images inside path images/ 
  }
0 Answers
Related