How to store image in device from API Call

I am developing an webos app using Angular 8.0.1 version. From angular I call a API and I get a response from server. I get base64 string of image as API response.

So I want to convert that base64 image string to Image and store to device. There may be so many images so localstorage is not useful. To store base64 string in inbuilt databse its also not useful. So suggest me how to store image in device

Hi @mitesh.kadiya,
Sorry for the late reply.

  • Basically, a web app cannot access the file system.
    • There are some JS API that can be used to store the data but a stored location is determined by web engine.

One possible workaround is:
Implementing your own service that provides an interface to the external storage.