cordova-plugin-secure-key-store
cordova-plugin-secure-key-store copied to clipboard
error object is wrongfully parsed
Hi.
I'm just testing if the plugin works as expected, as the other one (cordova-plugin-securestorage) is deprecated.
getting an item from the storage, if storage is there, returns this stringified json:
"{"code":1,"api-level":27,"message":RSA private or public key is null}"
However, this output is invalid as the message should be in quotes. The correct output should be:
"{"code":1,"api-level":27,"message":"RSA private or public key is null"}"
Tested on:
- android devices
If you need more info, give me a shout.