Prompt native Fingerprint, FaceID, or TouchID authentication.
Prompt for native hardware biometrics (Fingerprint / FaceID / TouchID) to authenticate sensitive actions like payments, account access, or data viewing.
Verify if the device has biometric hardware and enrolled credentials:
import nativine from 'nativine';
const { available, biometryType } = await nativine.biometrics.isAvailable();
// biometryType -> 'fingerprint', 'face', or 'iris'
Show the native biometric prompt with a custom reason string:
import nativine from 'nativine';
const { success } = await nativine.biometrics.authenticate({ reason: 'Authorize Transaction' });
success — true if authentication passed, false if user cancelled or failed.