-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Secure Storage #347
Add Secure Storage #347
Conversation
* @param storage {string} | ||
*/ | ||
constructor(storage: string) { | ||
let res, rej |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot ;
Read the comments. Also I think we should follow what Max did with the SQLite plugin here: f1c8ce3 This way we can keep the ionic-native modifications consistent. The usage would be something like: let secureStorage: SecureStorage = new SecureStorage();
secureStorage.create(<options>).then(<onSuccess>).catch(<onError>); |
…c-native plugins. Edited comments to reflect changes.
|
||
// Properties | ||
private _objectInstance: any; | ||
init: Promise<any>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is unecessary now
Looks good @begriffin |
I'm thinking the What do you guys think? |
Plugin for https://github.com/Crypho/cordova-plugin-secure-storage