0

There is no url present in the file location of firebase storage. Instead it gives a storage path. Please help.enter image description here

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807

3 Answers3

2

Just click the image and there is your URL:

enter image description here

To get the URL through Flutter, you can follow this answer: https://stackoverflow.com/a/54086124/11231634

Vitor
  • 762
  • 6
  • 26
  • This is the answer I was looking for! Right click on the "Name" value shown in the image above and then you can copy the image's URL to your clipboard for pasting elsewhere – Wes1324 Apr 16 '23 at 10:27
0

Download URLs are not/no longer automatically generated when you add a file to Cloud Storage through the Firebase SDK. Instead you will have to call getDownloadURL() to generate such a download URL. This URL will then also show up in the Firebase console.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
0

Unfortunately, in my case, some files cannot be downloaded as Vitor suggests. I don't know why, but there's just a plain text instead of link.

enter image description here

Solution

Just download it via Cloud Storage at Google Console. This works every time.

jedik
  • 1,144
  • 11
  • 12