@shere169 wrote:
this.storage.get('current').then(token => { this.presentAlert('Existing Current data',JSON.stringify(token)); this.storage.set('current',this.data);
I wanna replace the existing current values with new data. But storage.set is not replacing it.
Should i use storage.remove() ? to first remove the existing values and then add new by setting it again?
What is the best way?
Thank you.
Posts: 1
Participants: 1