EddyVerbruggen / nativescript-secure-storage

:closed_lock_with_key: NativeScript plugin for secure local storage of fi. passwords
MIT License
111 stars 26 forks source link

Catch errors when trying to remove keys that don't exist in iOS. #15

Closed bpeterman closed 6 years ago

bpeterman commented 6 years ago

In our app this section of code was silently failing when trying to remove a non existing key. We wrapped the delete portion into a try catch and ignore the keys that don't exist.

EddyVerbruggen commented 6 years ago

I 💖 it, thank you!