If you getting this Error: No provider for Storage then add it to the imports list in your NgModule declaration (for example, in src/app/app.module.ts):
import { IonicStorageModule } from '@ionic/storage'; @NgModule({ declarations: [ // ... ], imports: [ BrowserModule, IonicModule.forRoot(MyApp), IonicStorageModule.forRoot() ], bootstrap: [IonicApp], entryComponents: [ // ... ], providers: [ // ... ] })
Question and answer is powered by AnsPress.io