I have this ionic app which saves some data as json objects to localstorage and then display it in the view.
This is the form of the object when console.logged:
name: Jon Doe,
The image is added using the phone gap camera plugin. Everything works like charm, but when I installed an update of the app, the images doesn’t persist. All the other info in the locally stored objects, however, is still there.
I’m using the following code, taken straight from the ionic docs, to save the objects: