manidos
manidos

Reputation: 3464

Is the download URL permanent?

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

Answers (1)

Doug Stevenson
Doug Stevenson

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

Related Questions