0

So, I just want to swap some things in the download url to make users be able to search for files in the storage. it's just that I don't want to swap the long code in the end, because then users will have to use that super long code. I have to use the url to access the files.

https://firebasestorage.googleapis.com/v0/b/socialmedia- 
1df9e.appspot.com/o/images%2Flego?alt=media&token=4cc05dec-8dda-4f46-a8a7- 
eb1bf916c512                  ⇈                              ⇈
                            swap this                      Not this
David Wenzel
  • 309
  • 1
  • 2
  • 9

1 Answers1

2

It's not supported to construct your own download URLs. You should be using the Firebase SDK to generate download URLs that are special for each file you want to download.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441