I am looking for a plugin for cordova, which I can check if any security was set for the lock screen, e.g. a figure or a code or anything else
minimal target devices are Android and iOS
Hello and welcome on stackoverflow.
Here, you can't just ask like this, you have to do some research before.
I give you some help for you'r futur research on cordova :
When you want to know if a plugin exist, you have to check first the official cordova website.
Then, if this not successful, you will search the native functonnality cause if there don't exist, plugin can't exist too.
So in you'r case i do this search : android apps checking which lock screen set
and i found this : How to detect/identify if device Lock Screen setting is set to None?
On this topic they are talking about KeyguardManager on android native code.
Next step : google
-> cordova KeyguardManager
plugin and you can find this plugin : https://github.com/kitolog/cordova-plugin-screen-locker
Ok is only work on android but now, you can search alone the perfect plugin you need.
Have a nice day.