0 purchases
check device lock
check_device_lock #
For Android and iOS to check the device is secure by any passcode or biomatric.
Getting Started #
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;
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.