Skip to content

Instantly share code, notes, and snippets.

@ioskevinshah
Created November 21, 2018 12:51
Show Gist options
  • Save ioskevinshah/dc1eb0d2db83fc15d0409f4255c67d1e to your computer and use it in GitHub Desktop.
Save ioskevinshah/dc1eb0d2db83fc15d0409f4255c67d1e to your computer and use it in GitHub Desktop.
let kReasonMessage = "Biometeric required your authentication."
/// Biometric Default Reason(s)
let kBiometryNotAvailableReason = "Biometric authentication is not available for this device."
/// Common Message(s)
let kSetPasscode = "Please set device passcode for authentication."
/// TouchID Related Message(s)
let kTouchIdAuthenticationReason = "Confirm your fingerprint to authenticate."
let kTouchIdPasscodeAuthenticationReason = "Touch ID is locked now, because of too many failed attempts. Enter passcode to unlock Touch ID."
/// Error Messages Touch ID
let kNoFingerprintEnrolled = "There are no fingerprints enrolled in the device. Please go to Device Settings -> Touch ID & Passcode and enroll your fingerprints."
let kDefaultTouchIDAuthenticationFailedReason = "Touch ID does not recognize your fingerprint. Please try again with your enrolled fingerprint."
/// FaceID Related Message(s)
let kFaceIdAuthenticationReason = "Confirm your face to authenticate."
let kFaceIdPasscodeAuthenticationReason = "Face ID is locked now, because of too many failed attempts. Enter passcode to unlock Face ID."
/// Error Messages Face ID
let kNoFaceIdentityEnrolled = "There is no face enrolled in the device. Please go to Device Settings -> Face ID & Passcode and enroll your face."
let kDefaultFaceIDAuthenticationFailedReason = "Face ID does not recognize your face. Please try again with your enrolled face."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment