Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[firebase_storage] Convert StorageReference to Url String #2714

Closed
awhitford opened this issue Jun 7, 2020 · 0 comments
Closed

[firebase_storage] Convert StorageReference to Url String #2714

awhitford opened this issue Jun 7, 2020 · 0 comments
Labels
plugin: storage Stale Issue with no recent activity type: enhancement New feature or request

Comments

@awhitford
Copy link
Contributor

It seem uneven that one can convert a fully qualified Url into a StorageReference using FirebaseStorage.getReferenceFromUrl, but then cannot easily get a fullUrl from a StorageReference.

One example use case is building a Firebase Image Cache where the Storage Reference URL (as a String) is a database primary key. Provided a StorageReference, 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.

@Salakar Salakar added the Stale Issue with no recent activity label Apr 1, 2021
@Salakar Salakar closed this as completed Apr 1, 2021
@firebase firebase locked and limited conversation to collaborators Apr 1, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
plugin: storage Stale Issue with no recent activity type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants