This tag should be used for questions related to the LocalAuthentication framework provided in iOS and macOS.
Questions tagged [localauthentication]
87 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
23
votes
4 answers
LABiometryType in iOS11 always return None
No matter what settings is configured in Device's passcode and touchId settings , LAContext always returns none . It is just throwing me a warning not the exception.
Its only working in XCode 9.1 Beta in iOS11.1 beta as suggested :(

guhan0
- 666
- 6
- 19
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
13
votes
1 answer
Flutter Pin/Password/Pattern Integration
I have went through the local_auth package and it works fine, but it does not have an option to authenticate with password or pin. Help appreciated!
String _authorized = 'Not Authorized';//Start
Future _authenticate() async {
final…

Keshava Muraari
- 216
- 2
- 9
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
7
votes
1 answer
How to handle face id permission alert?
I had written the following code snippet
if ([contextNew canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error])
{
[contextNew evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics…

Pratik
- 103
- 1
- 9
6
votes
0 answers
Flutter, local_auth: Face ID authentication does not work (even though it is available)
I need to implement Face ID (biometrics) authentication inside the flutter application. I'm using flutter package "local_auth" v1.1.6 (https://pub.dev/packages/local_auth). However, the face authentication option is not available in the application…

Jan Radzimiński
- 61
- 3
6
votes
1 answer
How to add "Touch Id" with "In app Purchase" in Objective c?
I have successfully implemented "In App Purchase" in my project and now i am trying to implement a "Touch Id" to buy a product except asking a "Sign in to iTunes" popup. Here in my code it asks "touch id" and "Sign in to iTunes" popup both one after…

Vaibhav Shiledar
- 939
- 8
- 15
4
votes
1 answer
FaceID should fallback to Passcode but does not
I have inherited a code base with the following class providing support for Face/Touch ID.
The expected behaviour is that on Face/Touch ID success the user is signed in. This works.
However, should the user fail Face ID and opt to enter their…

Tim J
- 1,211
- 1
- 14
- 31
4
votes
1 answer
Biometry Type when user denied biometry usage
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…

Yasmin Tiomkin
- 282
- 1
- 5
- 14
3
votes
0 answers
Multiple apps based on the same code base fails biometric authentication on iOS device
I have multiple apps based on the same code base. And we are having features called biometric authentication on the app when the app is opened.
When I have the App-1 installed and then installing any other apps of mine like the App-2 app my…

Chandan Anand
- 179
- 1
- 11
3
votes
1 answer
How to make server know what data to send depending on fingerprint flutter?
I want to replace the login to the app from username and password to fingerprint in flutter, so the user when have successful fingerprint he will see his information in the application (this information send from server).
How I can manage that I…

Noor Allan
- 421
- 2
- 7
- 17
3
votes
1 answer
How to add fragment activity to MainActivity.java or MainAcyivity.kt
I am trying to build fingerprint fitur in my flutter apps and I am using local_auth package... the problem is that I always get below error-
PlatformException(no_fragment_activity, local_auth plugin requires activity to be a FragmentActivity.,…

wahyu
- 1,679
- 5
- 35
- 73
3
votes
1 answer
Adding custom dialog for local_auth Flutter
I was just messing around with the package local_auth on flutter. The package works fine on both android and iOS but I couldn't find any option to add a custom dialog option in the local_auth package. Does anyone have any idea? Any help would be…

nithinpp
- 1,785
- 12
- 24
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