Skip to content
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

How to update value of key? #11

Closed
GAGANsinghmsitece opened this issue Jan 24, 2020 · 1 comment
Closed

How to update value of key? #11

GAGANsinghmsitece opened this issue Jan 24, 2020 · 1 comment

Comments

@GAGANsinghmsitece
Copy link

I'm trying to update value of key(which already exist in storage). I tried,
SecureStoragePlugin.set({key,newvalue}).then(success=>{console.log('looks like we did it')});
but it keeps on showing error. I don't want to first delete the key and then store it with updated value which i believe will increase the processing time. Is there any way of updating value of key without deleting it?

@martinkasa
Copy link
Owner

@GAGANsinghmsitece I have just tried it on Android and iOS as well and it works. Closing the issue, if it is still hapenning, reopen it please.

aalzehla pushed a commit to aalzehla/capacitor-secure-storage-plugin that referenced this issue Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants