Skip to content

Commit

Permalink
fix(native-storage): add missing keys method (#1495)
Browse files Browse the repository at this point in the history
fix #1415
  • Loading branch information
danielsogl authored and ihadeed committed May 7, 2017
1 parent b2d07b4 commit 8311aaf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/@ionic-native/plugins/native-storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ export class NativeStorage extends IonicNativePlugin {
@Cordova()
getItem(reference: string): Promise<any> { return; }

/**
* Retrieving all keys
* @returns {Promise<any>}
*/
@Cordova()
keys(): Promise<any> { return; }

/**
* Removes a single stored item
* @param reference {string}
Expand Down

0 comments on commit 8311aaf

Please sign in to comment.