From 1c364f3d032e95d90818454e486d49aeed416ce8 Mon Sep 17 00:00:00 2001 From: kj1352 Date: Fri, 9 Apr 2021 09:15:56 +0530 Subject: [PATCH] Revert "Native HTTP import" This reverts commit 94e9547aa6151439ab35b7649d39c820cac31ec1. --- package-lock.json | 21 --------------------- package.json | 4 +--- src/app/app.module.ts | 2 -- 3 files changed, 1 insertion(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 03fc574..cc56c49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,6 @@ "@ionic-native/core": "^5.0.0", "@ionic-native/firebase-authentication": "^5.31.1", "@ionic-native/google-plus": "^5.31.1", - "@ionic-native/http": "^5.32.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "^5.0.0", @@ -2143,18 +2142,6 @@ "resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz", "integrity": "sha1-6nrd907Ow9dimCegw54smt3HPQQ=" }, - "node_modules/@ionic-native/http": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@ionic-native/http/-/http-5.32.0.tgz", - "integrity": "sha512-DDNhx+CmP9f0EgoQuiILrpNf3uqKH/pIcdWPtmvj+BV5up9NxBMdAP4KXO0ourh3XXAEi5j9H6knn5DPIUskmw==", - "dependencies": { - "@types/cordova": "latest" - }, - "peerDependencies": { - "@ionic-native/core": "^5.1.0", - "rxjs": "^5.5.0 || ^6.5.0" - } - }, "node_modules/@ionic-native/splash-screen": { "version": "5.30.0", "resolved": "https://registry.npmjs.org/@ionic-native/splash-screen/-/splash-screen-5.30.0.tgz", @@ -20288,14 +20275,6 @@ } } }, - "@ionic-native/http": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@ionic-native/http/-/http-5.32.0.tgz", - "integrity": "sha512-DDNhx+CmP9f0EgoQuiILrpNf3uqKH/pIcdWPtmvj+BV5up9NxBMdAP4KXO0ourh3XXAEi5j9H6knn5DPIUskmw==", - "requires": { - "@types/cordova": "latest" - } - }, "@ionic-native/splash-screen": { "version": "5.30.0", "resolved": "https://registry.npmjs.org/@ionic-native/splash-screen/-/splash-screen-5.30.0.tgz", diff --git a/package.json b/package.json index d0e8830..62f48f8 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "@ionic-native/core": "^5.0.0", "@ionic-native/firebase-authentication": "^5.31.1", "@ionic-native/google-plus": "^5.31.1", - "@ionic-native/http": "^5.32.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "^5.0.0", @@ -92,8 +91,7 @@ }, "cordova-plugin-ionic-keyboard": {}, "cordova-plugin-androidx": {}, - "cordova-plugin-androidx-adapter": {}, - "cordova-plugin-advanced-http": {} + "cordova-plugin-androidx-adapter": {} }, "platforms": [ "android" diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 8e70214..b7127b8 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -5,7 +5,6 @@ import { RouteReuseStrategy } from '@angular/router'; import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; import { SplashScreen } from '@ionic-native/splash-screen/ngx'; import { StatusBar } from '@ionic-native/status-bar/ngx'; -import { HTTP } from '@ionic-native/http/ngx'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @@ -34,7 +33,6 @@ import { ToastService } from './services/toast.service'; NewsService, MatchService, ToastService, - HTTP, { provide: RouteReuseStrategy, useClass: IonicRouteStrategy }, { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }, ],