Hello,
I am trying to implement Native Storage on my application. But I can’t store a value.
I followed the tutorial offered by Ionic, but unable to store data during emulation on iOs.
Here is the code :
his.storage.setItem('tokenaccess', {property: this.tokenAccess})
.then(
() => console.log('Stored item!'),
error => console.error('Error storing item', error)
);
//this.router.navigate(['/like-page']);
}
Any ideas to solve this problem ?