After reading everything I could find, and failing, I must ask here:
I am trying to use ionic2\'s Storage, just like the doc tells me to,
doc: https://ionicf
first do this npm install --save @ionic/storage
I managed to get this working using this ..
Inside app.module.ts
import { Storage } from '@ionic/storage';
And then ...
providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}, Storage]
And then in my page.ts
import { Storage } from '@ionic/storage';
In the constructor ...
public storage: Storage
And then within the guts of my code ..
this.storage.get('date').then((value) => {
// blah
});