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
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
@@ -43,7 +43,9 @@ export class NativeStorage extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
setItem(reference: string, value: any): Promise<any> { return; }
setItem(reference: string, value: any): Promise<any> {
return;
}
/**
* Gets a stored item
@@ -51,14 +53,18 @@ export class NativeStorage extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getItem(reference: string): Promise<any> { return; }
getItem(reference: string): Promise<any> {
return;
}
/**
* Retrieving all keys
* @returns {Promise<any>}
*/
@Cordova()
keys(): Promise<any> { return; }
keys(): Promise<any> {
return;
}
/**
* Removes a single stored item
@@ -66,13 +72,17 @@ export class NativeStorage extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
remove(reference: string): Promise<any> { return; }
remove(reference: string): Promise<any> {
return;
}
/**
* Removes all stored values.
* @returns {Promise<any>}
*/
@Cordova()
clear(): Promise<any> { return; }
clear(): Promise<any> {
return;
}
}