Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 447 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 447 Bytes

screen_lock_check

This plugin allows you to check whether the user has some form of screen lock set on their device: a passcode, a pattern, touch ID or face ID.

How it works

There is an example app that demonstrates how the plugin can be used.

You just need to instatiate ScreenLockCheck and call the method isScreenLockEnabled. Providing the plugin can access the platform, this will return a Future which will resolve to true or false.