Questions tagged [touch-id]

Touch ID is Apple's technology for fingerprint scanning introduced with the iPhone 5s. Starting with iOS 8, third-party developers are able to access Touch ID and determine whether or not a fingerprint scan was valid. Prior to iOS8, it had no public API and can therefore could not be used by third-party developers.

411 questions
52
votes
15 answers

How to programmatically check support of 'Face Id' and 'Touch Id'

I've integrated LocalAuthentication for my app security purpose, which has been supporting 'Touch Id' based supporting. But now, apple has recently added 'Face Id' based authentication also. How can I check, which type of authentication is supported…
Krunal
  • 77,632
  • 48
  • 245
  • 261
30
votes
1 answer

Save data in Keychain only accessible with Touch ID in Swift 3

I'm working on a peace of code that should do the following: Store some data in Keychain. Get the data only if a user authenticates with Touch ID or Pass Code. I watched the Keychain and Authentication with Touch ID presentation and understood the…
David Gatti
  • 3,576
  • 3
  • 33
  • 64
27
votes
2 answers

TouchID calls applicationWillResignActive and applicationDidBecomeActive

I am wondering if this is intended by Apple that these lifecycle methods are called upon using TouchID functionality. Is there any possibility to check if the touchID process is calling these methods (I want to avoid things like a BOOL in app…
user1788415
24
votes
2 answers

Is there a way to use Android fingerprint API or iOS Touch ID in web browser?

For example, I have a web site with authentication. Is there any fingerprint API, that can be used from JavaScript, to login users? Mobile OSs like Android and iOS has such API. So at least mobile version of browsers, in theory, can provide such…
23
votes
4 answers

Is there any way to use apple's Touch ID (fingerprint scanner) on iOS Simulator?

I am working on an app which would require Touch ID Authentication, so is there any way i can use Touch ID (fingerprint scanner) in the simulator ? Also, please do share some kind of example code for using LocalAuthentication framework.
Ashish
  • 355
  • 2
  • 5
  • 9
21
votes
4 answers

touchIDLockout deprecated in iOS 11.0

When compiling my Application with Xcode 9 for IOS11 I get the following warnings: warning: 'touchIDLockout' was deprecated in iOS 11.0: use LAErrorBiometryLockout warning: 'touchIDNotEnrolled' was deprecated in iOS 11.0: use…
sebastien
  • 2,489
  • 5
  • 26
  • 47
21
votes
8 answers

Determine if an iOS device supports TouchID without setting passcode

I'm currently developing an iOS app that enables users to log in to the app using TouchID, but firstly they must set up a password inside the app first. Problem is, to show the setup password option to enable the TouchID login, I need to detect if…
ABVincita
  • 8,676
  • 2
  • 18
  • 16
20
votes
3 answers

TouchID activateTouchWithResponse returns success without requesting fingerprint

I have the following implementation of LocalAuthentication as described in many places. context.evaluatePolicy(LAPolicy.DeviceOwnerAuthenticationWithBiometrics, localizedReason: "Logging in with Touch ID", reply: { (success : Bool, error : NSError?…
Cristian Pena
  • 2,139
  • 1
  • 19
  • 31
19
votes
2 answers

Determine if Touch ID-Protected Keychain Item Exists?

Is there a way to determine if an item (password, token, etc.) has been set in the iOS keychain using Touch ID access control without prompting the user for Touch ID? We have a need to determine if the credential has already been saved to the…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
17
votes
2 answers

Is it possible to use Touch-ID Authentication AND Keychain sharing in an iOS app?

I’ve been successfully able to implement TouchID with keychain as well as Keychain Sharing (syncing keychain items between multiple devices) separately. When I try to do them both, I get an error “-50“ which is invalid parameters. From the below…
SuPotter
  • 762
  • 1
  • 8
  • 16
17
votes
5 answers

iOS8 check if device has Touch ID

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…
1ce
  • 283
  • 3
  • 10
16
votes
1 answer

How does the life-time of an LAContext instance in iOS 8 behave?

I am wondering how the lifetime of a LAContext instance from the LocalAuthentication framework looks like in iOS 8. In iOS 9 and later, there is the invalidate method to manually invalidate the current context. If I am not using that method, the…
Hans Knöchel
  • 11,422
  • 8
  • 28
  • 49
16
votes
2 answers

Using Touch ID on iOS to encrypt data

What I'm trying to do Basically what I'm trying to do is figure out a way to encrypt data using Touch ID. Sadly I've not found a way to create an encryptionKey with Touch ID, since the LAContext API only returns a aye/nay response. Why I'm trying…
Gerald Eersteling
  • 1,244
  • 14
  • 28
15
votes
4 answers

Using TouchID on simulator

I'm trying to use TouchID within my Ionic 2 app. I have an iphone 5c, so I can't test it on real device. I imported the package : import { TouchID } from 'ionic-native'; Then, I tested the first function (I already activated touchID in the…
Mourad Idrissi
  • 3,455
  • 5
  • 17
  • 29
13
votes
2 answers

If TouchID fails, forward to system passcode authentication

I want to use TouchID authenticate my app, authentication worked successfully. If TouchID does not match, then the Try Again alert opens, and in that alert is the Enter Password option. If the user selects that, the system passcode authentication…
saravanar
  • 639
  • 2
  • 11
  • 25
1
2 3
27 28