(in promise): TypeError: Cannot read property 'name' of undefined TypeError: Cannot read property 'name' of undefined

localStorage.setItem(‘uid’,this.responseData.current_user.uid);
localStorage.setItem( ‘{name}’,this.responseData.current_user.name);

I think you made everything wrong, that you can do wrong, posting a question to this Forum.

Sorry

Hi, @surumulluprudhviraj

Try below plugin for localStorage

 this.localStorage.set('{uid}','uid');


  this.localStorage.get('{uid}').then((val) => {
    console.log('Your age is', val);
  });

thanks