allowDeviceCredentials property

bool? allowDeviceCredentials
getter/setter pair

Android/iOS/macOS Whether to allow device credentials (PIN/pattern/passcode) as a fallback for biometric authentication.

When true:

  • Android: Shows "Use PIN" option after biometric failure
  • iOS/macOS: Uses .deviceOwnerAuthentication policy
  • Windows: Not applicable (Windows Hello handles fallback internally)

Default: false (biometric-only authentication)

Implementation

bool? allowDeviceCredentials;