ok so it already stores to indexeddb, but when i try to do
this.store.get('token').then((val) => {
console.log('Your token is ', String(val));
it returns ‘Your token is null’
the code sequence is as follows:
this.store.set('token', response.data.token);
this.store.set('public_id', response.data.public_id);
this.store.set('role_id', response.data.role_id);
this.store.get('token').then((val) => {
console.log('Your token is ', String(val));
});