Flutter FaceId & FingerPrint Local Authentication - in 5 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 30

  • @abdullahali4117
    @abdullahali4117 2 ปีที่แล้ว +15

    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';

    • @codingorbit
      @codingorbit  2 ปีที่แล้ว +1

      I looked into it and you were right i forgot to mention that i added them elsewhere. Thank you!

    • @sats4544
      @sats4544 2 ปีที่แล้ว

      @@codingorbit can i know where are u supposed to add them

    • @codingorbit
      @codingorbit  2 ปีที่แล้ว +1

      @@sats4544 You should add these imports in local_auth_service.dart

    • @sats4544
      @sats4544 2 ปีที่แล้ว +1

      @@codingorbit yep already did it, thanks for the reply, u earn a subscriber👍🏻

    • @codingorbit
      @codingorbit  2 ปีที่แล้ว

      @@sats4544 thank you!

  • @subinneupane9223
    @subinneupane9223 2 ปีที่แล้ว +1

    Best flutter channel

  • @brittanydufort7240
    @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
    @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
      @andrewbarrett9927 ปีที่แล้ว

      Make sure Face ID is enrolled

    • @obong_samjoe
      @obong_samjoe ปีที่แล้ว

      @@andrewbarrett9927 it was, Hot reload fixed it. thanks

    • @codingorbit
      @codingorbit  ปีที่แล้ว

      Glad it worked eventually!

  • @talhasultan4751
    @talhasultan4751 ปีที่แล้ว

    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?

    • @codingorbit
      @codingorbit  ปีที่แล้ว

      I guess it checks what's default in the phone system first

  • @erickcarballo1454
    @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
      @nathantafelsky7089 ปีที่แล้ว

      Was "" added to the AndroidManifiest.xml file between the tags?

  • @addubalaji2188
    @addubalaji2188 ปีที่แล้ว

    here , face id is not open in andriod devices they open only fingerprint . how to open face id in andriod devices ?

    • @codingorbit
      @codingorbit  ปีที่แล้ว

      By default the library should be able to detect both face and fingerprint but I guess its prioritizing fingerprint

  • @sats4544
    @sats4544 2 ปีที่แล้ว

    for android it only allowing me to do fingerprint/pin how to do face id

    • @codingorbit
      @codingorbit  2 ปีที่แล้ว

      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

  • @israaqassim
    @israaqassim 2 ปีที่แล้ว +1

    😍😍the best

  • @bytefox29
    @bytefox29 ปีที่แล้ว

    good job!!!!

  • @qussaiqassim9912
    @qussaiqassim9912 2 ปีที่แล้ว

    👍🏾👍🏾

  • @kaviparker6669
    @kaviparker6669 2 ปีที่แล้ว

    123