i have an object which gets updated when ever some data change occurs, i need to store the previous and updating data into an array and retrieve it when required
/* currently i could get 1 data i need multiple data stored to a storage as array*/
get(){
this.storage.get('uploaded').then((data) => {
console.log("get data", JSON.parse(data));
});
}
set(){
var obj = { upload: true,
file: file.audio //this will hold an object which vary when required
}
this.storage.set('uploaded', JSON.stringify( obj ));
}