check_device_lock 0.0.3 copy "check_device_lock: ^0.0.3" to clipboard
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
160
points
93
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on check_device_lock