mibrito707 / cordova-plugin-secure-storage-echo

Secure storage plugin for Apache Cordova
MIT License
73 stars 73 forks source link

Device/screen lock #50

Open l3ender opened 4 years ago

l3ender commented 4 years ago

Is there a way to use this plugin to directly check if a device/screen lock is enabled? I see the isDeviceSecure() method in Java, but I don't think it's exposed through the API and I don't see an equivalent in iOS.

The desire is that there would be a way to check if the device has support for securely storing encrypted values. For both Android and iOS, this requires a user-configured device lock to be in place. This API would be used prior to set/get/other calls being used.

mibrito707 commented 4 years ago

Hello @l3ender , please check this section of the Readme for an example: https://github.com/mibrito707/cordova-plugin-secure-storage-echo#users-must-have-a-secure-screen-lock-set