Removed unused http plugin
This commit is contained in:
parent
50b58cc16f
commit
f305310bd7
4 changed files with 5 additions and 15 deletions
|
@ -3,7 +3,7 @@
|
||||||
<name>Goober</name>
|
<name>Goober</name>
|
||||||
<description>Goober, a mobile app for pnut.io</description>
|
<description>Goober, a mobile app for pnut.io</description>
|
||||||
<author email="gilag@monkeystew.com" href="https://monkeystew.org">Morgan McMillian</author>
|
<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="*" />
|
<access origin="*" />
|
||||||
<allow-navigation href="http://ionic.local/*" />
|
<allow-navigation href="http://ionic.local/*" />
|
||||||
<allow-intent href="http://*/*" />
|
<allow-intent href="http://*/*" />
|
||||||
|
@ -98,6 +98,5 @@
|
||||||
<plugin name="cordova-plugin-device" spec="^2.0.1" />
|
<plugin name="cordova-plugin-device" spec="^2.0.1" />
|
||||||
<plugin name="cordova-plugin-console" spec="^1.1.0" />
|
<plugin name="cordova-plugin-console" spec="^1.1.0" />
|
||||||
<plugin name="cordova-plugin-filepath" spec="^1.2.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" />
|
<engine name="android" spec="~6.4.0" />
|
||||||
</widget>
|
</widget>
|
||||||
|
|
|
@ -25,13 +25,10 @@
|
||||||
"@ionic-native/file-chooser": "^4.5.3",
|
"@ionic-native/file-chooser": "^4.5.3",
|
||||||
"@ionic-native/file-path": "^4.5.3",
|
"@ionic-native/file-path": "^4.5.3",
|
||||||
"@ionic-native/file-transfer": "^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/splash-screen": "4.5.3",
|
||||||
"@ionic-native/status-bar": "4.5.3",
|
"@ionic-native/status-bar": "4.5.3",
|
||||||
"@ionic/storage": "2.1.3",
|
"@ionic/storage": "2.1.3",
|
||||||
"com-darryncampbell-cordova-plugin-intent": "0.0.19",
|
"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-console": "^1.1.0",
|
||||||
"cordova-plugin-device": "^2.0.1",
|
"cordova-plugin-device": "^2.0.1",
|
||||||
"cordova-plugin-file": "^6.0.1",
|
"cordova-plugin-file": "^6.0.1",
|
||||||
|
@ -53,7 +50,8 @@
|
||||||
"run": "^1.4.0",
|
"run": "^1.4.0",
|
||||||
"rxjs": "5.5.6",
|
"rxjs": "5.5.6",
|
||||||
"sw-toolbox": "3.6.0",
|
"sw-toolbox": "3.6.0",
|
||||||
"zone.js": "0.8.20"
|
"zone.js": "0.8.20",
|
||||||
|
"cordova-android": "~6.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ionic/app-scripts": "3.1.8",
|
"@ionic/app-scripts": "3.1.8",
|
||||||
|
@ -75,8 +73,7 @@
|
||||||
"cordova-plugin-splashscreen": {},
|
"cordova-plugin-splashscreen": {},
|
||||||
"cordova-plugin-device": {},
|
"cordova-plugin-device": {},
|
||||||
"cordova-plugin-console": {},
|
"cordova-plugin-console": {},
|
||||||
"cordova-plugin-filepath": {},
|
"cordova-plugin-filepath": {}
|
||||||
"cordova-plugin-advanced-http": {}
|
|
||||||
},
|
},
|
||||||
"platforms": [
|
"platforms": [
|
||||||
"android"
|
"android"
|
||||||
|
|
|
@ -15,8 +15,6 @@ import { Device } from '@ionic-native/device';
|
||||||
import { FileChooser } from '@ionic-native/file-chooser';
|
import { FileChooser } from '@ionic-native/file-chooser';
|
||||||
import { FilePath } from '@ionic-native/file-path';
|
import { FilePath } from '@ionic-native/file-path';
|
||||||
import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer';
|
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 { TimeagoPipe } from '../pipes/timeago/timeago';
|
||||||
import { ParserPipe } from '../pipes/parser/parser';
|
import { ParserPipe } from '../pipes/parser/parser';
|
||||||
|
|
||||||
|
@ -55,8 +53,6 @@ import { ParserPipe } from '../pipes/parser/parser';
|
||||||
FilePath,
|
FilePath,
|
||||||
FileTransfer,
|
FileTransfer,
|
||||||
FileTransferObject,
|
FileTransferObject,
|
||||||
File,
|
|
||||||
HTTP,
|
|
||||||
{provide: ErrorHandler, useClass: IonicErrorHandler}
|
{provide: ErrorHandler, useClass: IonicErrorHandler}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -5,8 +5,6 @@ import { Storage } from '@ionic/storage';
|
||||||
import { FileChooser } from '@ionic-native/file-chooser';
|
import { FileChooser } from '@ionic-native/file-chooser';
|
||||||
import { FilePath } from '@ionic-native/file-path';
|
import { FilePath } from '@ionic-native/file-path';
|
||||||
import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer';
|
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 { Events } from 'ionic-angular';
|
||||||
|
|
||||||
import * as pnut from 'pnut-butter';
|
import * as pnut from 'pnut-butter';
|
||||||
|
@ -370,7 +368,7 @@ export class NewPostModal {
|
||||||
|
|
||||||
constructor(public navParams: NavParams, public viewCtrl: ViewController, public toastCtrl: ToastController,
|
constructor(public navParams: NavParams, public viewCtrl: ViewController, public toastCtrl: ToastController,
|
||||||
private fileChooser: FileChooser, private storage: Storage, public events: Events, private filePath: FilePath,
|
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));
|
console.log(JSON.stringify(this.navParams));
|
||||||
this.myUsername = navParams.data.me;
|
this.myUsername = navParams.data.me;
|
||||||
if (navParams.data.type === 'reply') {
|
if (navParams.data.type === 'reply') {
|
||||||
|
|
Reference in a new issue