Commit f305310b authored by Morgan McMillian's avatar Morgan McMillian

Removed unused http plugin

parent 50b58cc1
......@@ -3,7 +3,7 @@
<name>Goober</name>
<description>Goober, a mobile app for pnut.io</description>
<author email="gilag@monkeystew.com" href="https://monkeystew.org">Morgan McMillian</author>
<content src="index.html" />
<content original-src="index.html" src="http://10.0.0.212:8100" />
<access origin="*" />
<allow-navigation href="http://ionic.local/*" />
<allow-intent href="http://*/*" />
......@@ -98,6 +98,5 @@
<plugin name="cordova-plugin-device" spec="^2.0.1" />
<plugin name="cordova-plugin-console" spec="^1.1.0" />
<plugin name="cordova-plugin-filepath" spec="^1.2.0" />
<plugin name="cordova-plugin-advanced-http" spec="^1.10.1" />
<engine name="android" spec="~6.4.0" />
</widget>
......@@ -25,13 +25,10 @@
"@ionic-native/file-chooser": "^4.5.3",
"@ionic-native/file-path": "^4.5.3",
"@ionic-native/file-transfer": "^4.5.3",
"@ionic-native/http": "^4.5.3",
"@ionic-native/splash-screen": "4.5.3",
"@ionic-native/status-bar": "4.5.3",
"@ionic/storage": "2.1.3",
"com-darryncampbell-cordova-plugin-intent": "0.0.19",
"cordova-android": "~6.4.0",
"cordova-plugin-advanced-http": "^1.10.1",
"cordova-plugin-console": "^1.1.0",
"cordova-plugin-device": "^2.0.1",
"cordova-plugin-file": "^6.0.1",
......@@ -53,7 +50,8 @@
"run": "^1.4.0",
"rxjs": "5.5.6",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.20"
"zone.js": "0.8.20",
"cordova-android": "~6.4.0"
},
"devDependencies": {
"@ionic/app-scripts": "3.1.8",
......@@ -75,8 +73,7 @@
"cordova-plugin-splashscreen": {},
"cordova-plugin-device": {},
"cordova-plugin-console": {},
"cordova-plugin-filepath": {},
"cordova-plugin-advanced-http": {}
"cordova-plugin-filepath": {}
},
"platforms": [
"android"
......
......@@ -15,8 +15,6 @@ import { Device } from '@ionic-native/device';
import { FileChooser } from '@ionic-native/file-chooser';
import { FilePath } from '@ionic-native/file-path';
import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer';
import { File } from '@ionic-native/file';
import { HTTP } from '@ionic-native/http';
import { TimeagoPipe } from '../pipes/timeago/timeago';
import { ParserPipe } from '../pipes/parser/parser';
......@@ -55,8 +53,6 @@ import { ParserPipe } from '../pipes/parser/parser';
FilePath,
FileTransfer,
FileTransferObject,
File,
HTTP,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
......
......@@ -5,8 +5,6 @@ import { Storage } from '@ionic/storage';
import { FileChooser } from '@ionic-native/file-chooser';
import { FilePath } from '@ionic-native/file-path';
import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer';
import { File } from '@ionic-native/file';
import { HTTP } from '@ionic-native/http';
import { Events } from 'ionic-angular';
import * as pnut from 'pnut-butter';
......@@ -370,7 +368,7 @@ export class NewPostModal {
constructor(public navParams: NavParams, public viewCtrl: ViewController, public toastCtrl: ToastController,
private fileChooser: FileChooser, private storage: Storage, public events: Events, private filePath: FilePath,
private transfer: FileTransfer, private file: File, private http: HTTP) {
private transfer: FileTransfer) {
console.log(JSON.stringify(this.navParams));
this.myUsername = navParams.data.me;
if (navParams.data.type === 'reply') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment