Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Asking for a recommedation: Local storage or Firestore?

$
0
0

@TiTiTools wrote:

Hi, I have to take a decition about how to manage the storing image process…

I think it’s better to storage the images locally, show it to the user, and, when the user confirms is correct, start the firestore saving process. The point is that I don’t find a example about how to show the images from the local storage (File:///…/cache/whatever.jpg)…

Alternatively I could store, from the beggining, in Firestore the images and when the user confirm is correct I could rename it with the definitive name. I know how to do this way, but I don’t like this solution much as if the user interrupt the process I would have “lost” images overloading the database.

What do you recommend me? Do you have an example about how to show images from cache local storage?

Thanks in advance!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>