Merge in v5 code

This commit is contained in:
Ibby Hadeed
2017-12-28 07:28:44 -05:00
parent d43fe72f7b
commit 0f9c21ab42
255 changed files with 11473 additions and 6501 deletions
+9 -5
View File
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, Plugin, CordovaCheck, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, CordovaCheck, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/merge';
@@ -62,14 +62,14 @@ export class Network extends IonicNativePlugin {
* Connection type
* @return {string}
*/
@CordovaProperty
@CordovaProperty()
type: string;
/**
* Downlink Max Speed
* @return {string}
*/
@CordovaProperty
@CordovaProperty()
downlinkMax: string;
/**
@@ -89,7 +89,9 @@ export class Network extends IonicNativePlugin {
eventObservable: true,
event: 'offline'
})
onDisconnect(): Observable<any> { return; }
onDisconnect(): Observable<any> {
return;
}
/**
* Get notified when the device goes online
@@ -99,6 +101,8 @@ export class Network extends IonicNativePlugin {
eventObservable: true,
event: 'online'
})
onConnect(): Observable<any> { return; }
onConnect(): Observable<any> {
return;
}
}