biometricAttempt method

Future<String?> biometricAttempt(
  1. String udid, {
  2. required bool match,
  3. required bool touch,
})

Answers a pending biometric prompt with a matching or non-matching face (touch false) or finger.

Implementation

Future<String?> biometricAttempt(String udid, {required bool match, required bool touch}) => _run([
      'spawn',
      udid,
      'notifyutil',
      '-p',
      'com.apple.BiometricKit_Sim.${touch ? 'fingerTouch' : 'pearl'}'
          '.${match ? 'match' : 'nomatch'}',
    ]);