check_device_lock 0.0.3 icon indicating copy to clipboard operation
check_device_lock: ^0.0.3 copied to clipboard

For Android and iOS to check the device is secure by any passcode or biomatric.

check_device_lock #

For Android and iOS to check the device is secure by any passcode or biomatric.

Getting Started #

Example Image:

Method #

Call this method to check if the device is secure:

Future<void> initPlatformState() async {
    bool value;
    // Platform messages may fail, so we use a try/catch PlatformException.
    // We also handle the message potentially returning null.
    try {
      value = await CheckDeviceLock.isDeviceSecure ?? false;
    } on PlatformException {
      value = false;
    }
}
2
likes
140
pub points
30%
popularity

Publisher

unverified uploader

For Android and iOS to check the device is secure by any passcode or biomatric.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on check_device_lock