These are chat archives for angular/angular-2-ionic-2
I'm trying to implement SecureStorage across multiple components in my Ionic 2 app (building on an iPad). However, there isn't much Angular2/Ionic2-specific documentation so I'm having trouble getting a value in one component after I've set it in another.
this.secureStorage = new SecureStorage(); this.secureStorage.create('home_store'); this.secureStorage.set('auth_token');
Then, in schedule.ts:
this.secureStorage = new SecureStorage(); this.secureStorage.create('schedule_store'); this.secureStorage.get('auth_token');
Even though the auth_token was set in home.ts, it's not available in schedule.ts.
Does anybody have any experience on this topic? Thanks!