face-id

What is NSFaceIDUsageDescription - Face ID Usage Description Info.plist key?

孤者浪人 提交于 2020-01-01 07:28:07
问题 There is a new privacy NSFaceIDUsageDescription Info.plist key in the Xcode 9 GM where a developer supplies the usage description for the permissions alert. Does anyone have a link to docs on it? The plist view in Xcode summarizes it as: Privacy - Face ID Usage Description 回答1: Now further explained in the above mentioned forum (by an Apple employee) https://forums.developer.apple.com/message/265156: Face ID requires adding a usage string with the key NSFaceIDUsageDescription (aka Privacy -

Is this correct to check FaceID?

只愿长相守 提交于 2019-12-23 09:58:33
问题 Sorry, unavailability of iPhone-X. After the launch of iPhone-X, everyone wants their application should be compatible with iOS11 and with touchID but the problem is it's too expensive for a developer to test touch ID. I don't have iPhone to check my code but can I check the same in iOS simulator? let context = LAContext() if ( context.biometryType == .typeFaceID ) { // Face ID } if ( context.biometryType == .typeTouchID) { // Touch ID } else { // Stone Age } 回答1: You can test it without

How to programmatically check support of Touch ID, Face Id ,Password and pattern lock in React-Native

柔情痞子 提交于 2019-12-23 09:35:29
问题 I have implemented react-native-fingerprint-scanner in my application its working fine for Touch Id . Now I wanted to add authentication for Touch ID, Face Id, Pass code for both platform Is there any to check whether your device support or not respectively it will ask for lock pattern ? Also I have tried using react-native-touch-id but it is not working me for Face Id Is there any way to achieve this for both platform (iOS/android)? Reference:Link 回答1: react-native-touch-id should work for

Detect fast double power button press

こ雲淡風輕ζ 提交于 2019-12-19 11:44:36
问题 Is it possible to detect if the user pressed the power button two times fast? Apple use the way to confirm an Appstore purchase on the new iPhone X with Face-ID. Is there any API available? Want to use it in an similar case for authenticate via Face-ID. 回答1: No. The system itself controls response to the side (sleep/wake/power) button. iOS accepts a double-tap on side button to prompt for Face ID authentication only during an Apple-mediated financial transaction — that is, to make a purchase

How to ignore iOS device PIN Prompt after 3 incorrect touch/face id recognitions

女生的网名这么多〃 提交于 2019-12-11 15:57:33
问题 Our app saves and retrieves items from Keychain for authentication using biometrics. On the 3rd incorrect attempt, I'm getting redirected onto device PIN code. Instead would like to prompt a message saying 3 incorrect tries. Code for retrieving the items OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)(query), &dataTypeRef); Saw the expected behaviour with Bank of America app, where it shows a message that user need to login manually after 3 incorrect tries 回答1: I assume you

iOS - Face ID biometric integration

纵然是瞬间 提交于 2019-12-08 19:08:31
问题 I've integrated/implemented Face ID (Local Authentication) authentication for my app and everything works fine, except Face ID prompt Alert window interface. It shows, a rounded square with a light gray background and the title "Face ID" . What should need to set for blank area exact above title? Is that space for face id icon? if yes then how can I set it? I've tried everything in LAContext and LAPolicy. Look at this snapshot: Here is my code: let laContext = LAContext() var error: NSError?

Biometry Type when user denied biometry usage

和自甴很熟 提交于 2019-12-07 09:21:15
问题 In our app, the user has to register to the device biometry in order to use it for authentication. The registration text and legal notes are according to the relevant biometry (register to touch ID or register to face ID) As far as I found, the biometry type is obtainable via the LAContext, but if the user denies usage of biometry, then the context returns biometryType=.none Any ideas other that asking for the screen size and comparing to iphone X (bad bad code)? static fileprivate var

Biometry Type when user denied biometry usage

…衆ロ難τιáo~ 提交于 2019-12-05 15:05:32
In our app, the user has to register to the device biometry in order to use it for authentication. The registration text and legal notes are according to the relevant biometry (register to touch ID or register to face ID) As far as I found, the biometry type is obtainable via the LAContext, but if the user denies usage of biometry, then the context returns biometryType=.none Any ideas other that asking for the screen size and comparing to iphone X (bad bad code)? static fileprivate var biometryType: DSLocalAuthenticationBiometryType { let context = LAContext() var error: NSError? let _ =

iOS8 check if device has Touch ID

可紊 提交于 2019-12-04 16:18:46
问题 LAContext has method to check if device can evaluate touch ID and gives error message. Problem is that same error message "LAErrorPasscodeNotSet" is given by system in two cases: 1) If user has Touch ID, but turned it off in settings (iPhone 5s with iOS8) 2) If device doesn't have Touch ID (iPad with iOS8) Q: How to check if device supports Touch ID, but haven't turned it on in settings? Update: Had created ticket to Apple regarding this bug (ID# 18364575) and received answer: " Engineering