How to download in local filesystem an image from firebase storage using ionic/angular

General Tech Bugs & Fixes 3 years ago

5.97K 1 0 0 0

User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 3 years ago

I can't figure out how to download an image from firebase storage and save it into local filesystem within an ionic/angular based hybrid app. Basically, I'm trying to cache a profile picture so I don't have to waste firebase request any time I want to display that picture in my app.

Since ionic is a web app, the only documentation on google firebase storage help for Web Development talks about getting the download URL. I want to use that URL to put the image in the local filesystem.

I'm pretty new on this technology so maybe there is an object to manage web download and get the byte stream from an URL. But I didn't succeed by googling this problem.

Thanks in advance.

0 views
0 shares

No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Similar Forum