[firebase_storage] Convert StorageReference to Url String #5614
Unanswered
awhitford
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seem uneven that one can convert a fully qualified Url into a
StorageReference
usingFirebaseStorage.getReferenceFromUrl
, but then cannot easily get afullUrl
from aStorageReference
.One example use case is building a Firebase Image Cache where the Storage Reference URL (as a
String
) is a database primary key. Provided aStorageReference
, convert it to a Url String, perform database lookup, if exists and coherent, serve from the cache, otherwise fetch from Storage and then populate the database cache.Beta Was this translation helpful? Give feedback.
All reactions