Storage Js

Hi,

Two question about Storage Js:

  1. The class is only to read and write txt files? It is posible to save a image to the device from a url?

  2. How can I delete or replace all the text of a txt file?

Because if I write “Test01” in a txt and then I write “Text2”, the stored text in the file is “Text21”!

Thanks!

The current storage api is a bit limited. We added it to at least be able to write settings etc. until we get a proper implementation. You can always extend the functionality through Uno if you can’t wait for the features (https://www.fusetools.com/developers/guides/fusejs/nativemodules).