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

Device/screen lock #50

Open
l3ender opened this issue Jun 10, 2020 · 1 comment
Open

Device/screen lock #50

l3ender opened this issue Jun 10, 2020 · 1 comment

Comments

@l3ender
Copy link

l3ender commented Jun 10, 2020

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
Copy link
Owner

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

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