for android and ios messages some error will happened . try import these lines to solve it : import 'package:local_auth_android/local_auth_android.dart'; import 'package:local_auth_ios/local_auth_ios.dart';
@codingorbit2 жыл бұрын
I looked into it and you were right i forgot to mention that i added them elsewhere. Thank you!
@sats45442 жыл бұрын
@@codingorbit can i know where are u supposed to add them
@codingorbit2 жыл бұрын
@@sats4544 You should add these imports in local_auth_service.dart
@sats45442 жыл бұрын
@@codingorbit yep already did it, thanks for the reply, u earn a subscriber👍🏻
@codingorbit2 жыл бұрын
@@sats4544 thank you!
@subinneupane92232 жыл бұрын
Best flutter channel
@codingorbit2 жыл бұрын
Thank you!
@brittanydufort7240 Жыл бұрын
As a flutter newbie - this was really great. The only issue I haven't been able to get past is for iOS. I have faceid enrolled in the simulator, I've restarted, hot reloaded, etc. I have triple checked that everything is setup per this video and the flutter local_auth docs. I continuously get an empty array for available biometrics for iOS. I spent the day scouring the web without luck. Any thoughts?
@obong_samjoe Жыл бұрын
thanks for the video, but after all was done, IOS was asking for the "iphone passcode" for my projcet and i did not set any. can you help out with a possible solution ?
@andrewbarrett9927 Жыл бұрын
Make sure Face ID is enrolled
@obong_samjoe Жыл бұрын
@@andrewbarrett9927 it was, Hot reload fixed it. thanks
@codingorbit Жыл бұрын
Glad it worked eventually!
@israaqassim2 жыл бұрын
😍😍the best
@codingorbit2 жыл бұрын
Thank you
@sats45442 жыл бұрын
for android it only allowing me to do fingerprint/pin how to do face id
@codingorbit2 жыл бұрын
Have you activated the face id on the android phone, asking this since on ios too if face id isn’t active it asks for password
@addubalaji2188 Жыл бұрын
here , face id is not open in andriod devices they open only fingerprint . how to open face id in andriod devices ?
@codingorbit Жыл бұрын
By default the library should be able to detect both face and fingerprint but I guess its prioritizing fingerprint
@talhasultan47512 жыл бұрын
I am using both fingerprint and face id from local auth. Despite i select fingerprint to login it always prefer face id first on dialog. how to deal with it?
@codingorbit2 жыл бұрын
I guess it checks what's default in the phone system first
@erickcarballo1454 Жыл бұрын
I am using a mobile device, but although the cell phone has a biometric, it gives me a message: Biometric required, go to Settings > Security to add biometric authentication. And I already have an easy registration and I even left only that option enabled, but that message keeps appearing, does it affect the device? My cell phone is a Xiaomi Poco X3 Pro and the local_auth version is the most recent, 2.1.6, could you help me?
@nathantafelsky7089 Жыл бұрын
Was "" added to the AndroidManifiest.xml file between the tags?