I downloaded a Unity project that use images stored in Firebase server using the following link: https://zplayer360-86b30.firebaseapp.com
Now I want to reproduce this with my own file. I created a Firebase project using Firebase Console, uploaded manually the images, but now I click "copy folder url" button and it provide me only this link: gs://insidehome-29c9e.appspot.com/
I need a free HTTP public link. How can I obtain this?
Firebase Download URLs The download token is created automatically whenever a file is uploaded to Cloud Storage for Firebase. It's a random UUIDv4, which makes the URL hard to guess. To retrieve a download URL, your client app needs to call the getDownloadUrl() method on the file reference.
gs is the Internet country code top-level domain (ccTLD) for South Georgia and the South Sandwich Islands.
If you already have download infrastructure based around URLs, or just want a URL to share, you can get the download URL for a file by calling the getDownloadUrl() method on a Cloud Storage reference.
android - Firebase storage URL keeps changing with new token - Stack Overflow. Collectives™ on Stack Overflow – Centralized & trusted content around the technologies you use the most.
When you upload a file to Firebase Storage, it automatically gets:
gs://
), which you can use to access the file through the Firebase Storage SDK and the Google Storage API.https://
), which is a publicly-readable-but-non-guessable URL that you can use to download the URL with regular HTTP clientsWhat you're looking for is the second URL, which you can find in the Firebase Storage console when you select a file:
At the bottom right you can see the download URLs for the file. One of these is auto-created when you upload the file, but you can create more of them or revoke existing ones.
I am not entirely sure what you mean by "free" URL. The link is publicly readable, but downloads will count against your Firebase Storage download quota of course.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With