From 2c44eb3b01e4fd6c7533a1c771f9b1cec3d5bd1d Mon Sep 17 00:00:00 2001 From: Ratnadeep Rajendra Kharade <92khra1mst@hft-stuttgart.de> Date: Wed, 27 Nov 2019 22:13:15 +0100 Subject: [PATCH] added storage dependencies in app module --- src/app/app.module.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index bbe16be..238bde8 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,17 +1,19 @@ +// ionic native dependencies import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { RouteReuseStrategy } from '@angular/router'; +import { HttpClientModule } from '@angular/common/http'; +// ionic native dependencies import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; import { SplashScreen } from '@ionic-native/splash-screen/ngx'; import { StatusBar } from '@ionic-native/status-bar/ngx'; +import { Geolocation } from '@ionic-native/geolocation/ngx'; +import { IonicStorageModule } from '@ionic/storage'; +// custom dependencies import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; -import { Geolocation } from '@ionic-native/geolocation/ngx'; - -import { HttpClientModule } from '@angular/common/http'; - import { RestService } from './rest.service'; @NgModule({ @@ -21,7 +23,8 @@ import { RestService } from './rest.service'; BrowserModule, HttpClientModule, IonicModule.forRoot(), - AppRoutingModule + AppRoutingModule, + IonicStorageModule.forRoot() ], providers: [ Geolocation, -- GitLab