Questions tagged [face-id]

Apple's face recognition technology used in the iPhone X.

Face ID is Apple's face recognition technology that is used in the iPhone X as a biometric locking system.

More information about Face ID

Related tags:

169 questions
3
votes
1 answer

Expo React Native - FaceID is not available in Expo Client

I'm trying to implement Face ID in my React Native project. ... import * as LocalAuthentication from 'expo-local-authentication'; ... componentDidMount = async () => { const hasAuth = await LocalAuthentication.hasHardwareAsync(); …
myTest532 myTest532
  • 2,091
  • 3
  • 35
  • 78
3
votes
1 answer

How to do face id authentication for both android and iOS in flutter

Hi I try to look for resource about authentication using face id in flutter that available for both android and iOS. I have try to search some resources, but most of them say that face id only available in iOS. are there any guides or resources that…
wahyu
  • 1,679
  • 5
  • 35
  • 73
3
votes
2 answers

What does [unowned self] mean and what are the benefits?

I´m trying to integrate Face/Touch ID Login and I saw [unowned self] in Apple's documentation, inside a closure. What is that and what are the benefits? Example code: let context = LAContext() var error: NSError? if…
SwiftiSwift
  • 7,528
  • 9
  • 56
  • 96
3
votes
4 answers

Flutter - Prompt for TouchID/FaceID when opening app

I'm having an issue implementing TouchID/FaceID Authentication in a way where it will automatically prompt the user when they open the app. I am using the local_auth dependency for TouchID/FaceID. In the code below, biometric authentication will…
Matt Lampe
  • 191
  • 1
  • 2
  • 5
3
votes
0 answers

iOS FaceID/TouchID issue with multiple users enrolling in the same setup session

When trying to enroll for FaceID there are two steps to scan the user's face. On the first step person A enrolls his face and on the second scan person B enrolls his face. Both enrollments are accepted and authentication works only for person A who…
Satheesh
  • 10,998
  • 6
  • 50
  • 93
3
votes
0 answers

Request permission to use Face ID/Touch ID programmatically

Is there a way to request permission for Face ID/Touch ID programmatically? I know that permission for Face ID is triggered the first time you call evaluatePolicy(_ policy: LAPolicy, localizedReason: String, reply: @escaping (Bool, Error?) ->…
TheRealRonDez
  • 2,807
  • 2
  • 30
  • 40
3
votes
1 answer

Unable to localize Face Id popup for non-matching face

It seems like Face Id is ignoring localizedFallbackTitle and localizedReason. However localizedCancelTitle is working fine. Does anyone know how to get it work? My code: LAContext *context = [[LAContext alloc] init]; if ([context…
Sanket_B
  • 735
  • 9
  • 26
3
votes
0 answers

Face ID got error -1004 when install both app with same target name

I build both apps from the same project but change bundle identifier. They are the same target name (product name). So one of them can't using Face ID or Touch ID, the fail one got error code -1004 from LAContext. Is there any documentation from…
Chú Phú
  • 41
  • 3
3
votes
0 answers

How to reenable FaceID on iPhone X simulator

Not a duplicate of Can we test FaceID in simulator. It appears in this article, that the ability to update FaceID settings for a specific app is possible, however this does not seem to be the case in the iPhone X simulator (xCode version: 9.2). The…
3
votes
0 answers

How to use Touch Id/Face Id when the back end is rest api server

I want to implement Apple's touchId/FaceId for my app. Currently the app has Login screen, where the user enters the userId and password. I submit the userId and password to the back end server(located at let's say…
Md Naushad
  • 147
  • 1
  • 11
3
votes
1 answer

Ask user for TouchID/FaceID permission without actually using TouchID/FaceID

I'm creating an app where the user has to login and can use FaceID or TouchID to speed up the log in process. Using FaceID or TouchID for the login can be enabled or disabled in the internal settings of the application. When first using…
j0h4nn3s
  • 2,016
  • 2
  • 20
  • 35
3
votes
0 answers

iOS kSecUseOperationPrompt not used

I'm trying to get a generic passcode from the keychain encoded by Face ID, and with a custom prompt/message for the user. This has been working for Touch ID but it seems that I'm not able to override the default text of 'Face Not Recognised' on the…
Lee-der
  • 93
  • 9
3
votes
1 answer

How do I test allowing Face ID and disallowing Face ID for an app in the simulator?

This is not a dupe of: Can we test Face ID in simulator? I want to know how to test when a user accepts the Face ID alert below that reads "Do you want to allow "app" to use Face ID" and then decides to disable Face ID for an app in the simulator.
Steve Moser
  • 7,647
  • 5
  • 55
  • 94
3
votes
0 answers

Detect FaceID support of an iPhone

I try to detect the biometric capabilities of an iPhone like this: let authenticationContext = LAContext() switch authenticationContext.biometryType { case LABiometryType.typeFaceID: print("faceID") case LABiometryType.typeTouchID: …
mica
  • 3,898
  • 4
  • 34
  • 62
2
votes
0 answers

iOS Attention Aware Features usage

How can I detect if the user's attention is on iphone. The same function as the faceID, detect if the user is looking at the iphone. Tried the vision framework but I was not successfull. Any code or documentation would be very helpful.
XCozi
  • 23
  • 2
1 2
3
11 12