capacitor-secure-storage-plugin
capacitor-secure-storage-plugin copied to clipboard
Unicode support for web
Hello @lucaboy, is this supose to be real pull request? or are you just making changes to your forked copy?
Not using Exception
when not strictly needed is always a good idea, IHMO. Returning null is a bit of a weak alternative as all types of errors are now simply combined into one undifferentiatable NULL value.
IMHO, best would be to have a typed Result
response what has all error states (maybe a enum
and a description String
that possibly contains the error from the underlying library), and all success states (in this case only one: the value that belongs to the key).
https://developer.paypal.com/braintree/docs/reference/general/result-objects/node