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,12 +1,13 @@
import { Injectable } from '@angular/core';
import { CordovaInstance, Plugin, CordovaCheck, IonicNativePlugin } from '@ionic-native/core';
import { CordovaCheck, CordovaInstance, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @hidden
*/
export class SecureStorageObject {
constructor(private _objectInstance: any) { }
constructor(private _objectInstance: any) {
}
/**
* Gets a stored item
@@ -16,7 +17,9 @@ export class SecureStorageObject {
@CordovaInstance({
callbackOrder: 'reverse'
})
get(key: string): Promise<string> { return; }
get(key: string): Promise<string> {
return;
}
/**
* Stores a value
@@ -27,7 +30,9 @@ export class SecureStorageObject {
@CordovaInstance({
callbackOrder: 'reverse'
})
set(key: string, value: string): Promise<any> { return; }
set(key: string, value: string): Promise<any> {
return;
}
/**
* Removes a single stored item
@@ -37,7 +42,9 @@ export class SecureStorageObject {
@CordovaInstance({
callbackOrder: 'reverse'
})
remove(key: string): Promise<string> { return; }
remove(key: string): Promise<string> {
return;
}
/**
* Get all references from the storage.
@@ -46,7 +53,9 @@ export class SecureStorageObject {
@CordovaInstance({
callbackOrder: 'reverse'
})
keys(): Promise<string[]> { return; }
keys(): Promise<string[]> {
return;
}
/**
* Clear all references from the storage.
@@ -55,14 +64,18 @@ export class SecureStorageObject {
@CordovaInstance({
callbackOrder: 'reverse'
})
clear(): Promise<any> { return; }
clear(): Promise<any> {
return;
}
/**
* Brings up the screen-lock settings
* @returns {Promise<any>}
*/
@CordovaInstance()
secureDevice(): Promise<any> { return; }
secureDevice(): Promise<any> {
return;
}
}