In Ionic 2, How to store images?

I am making a hybrid mobile application using Ionic 2 in which I am pretty new. In the application, I have to show images from remote URLs after sending a request that returns a list of URLs for displayed images (this part is fine). But I was interested because I want my application to work offline (after he used it at least once for some source data), how do I store images using a @ionic/storage Storageprovider?

Is it possible to save base64 strings in ion key / SQLite / IndexedDB value by default or is there a cleaner way to do this?

+4
source share
1 answer

cordova-plugin-file.

: Ionic 2

+6

Source: https://habr.com/ru/post/1671323/


All Articles