1
I need a simple solution to persistently upload and update data in a mobile APP using Cordova.
I thought I’d create a JSON
in the application root folder to load the data on APP startup.
Even for sure, but, how to do the reverse?
For example: the script loads JSON and plays in View > the user modifies this data in some way > the stringify()
and stores the updated JSON back in the root folder. I don’t think you can do this with POST
.
I saw that you can do using localStorage
, but that way the data gets lost when closing the application.