Reputation: 3464
Here's JS code I use to get the download URL:
ref.child('penus.jpg').getDownloadURL()
.then(url => {
console.log(url)
})
Is this url permanent? Can I share it?
Upvotes: 1
Views: 162
Reputation: 317467
The URL will work until you revoke the token that was assigned to it. You can do that in the Firebase console. Other than that, it's permanent and meant to be shared.
Upvotes: 2