isDeviceSupported method

Future<bool> isDeviceSupported({
  1. GuardoService? guardoService,
})

Checks if the device supports biometric authentication

Example usage:

if (await context.isDeviceSupported()) {
  // Device supports biometrics
}

Implementation

Future<bool> isDeviceSupported({GuardoService? guardoService}) async {
  final service = guardoService ?? _getGuardoService();
  return await service.isDeviceSupported;
}