Flutter Tutorial - Fingerprint & Touch ID - Local Auth

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

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

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

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/fingerprint_auth_example
    Face ID Local Auth Tutorial: th-cam.com/video/WIkdceaOUns/w-d-xo.html
    Google SignIn Tutorial: th-cam.com/video/ogW83xGQGTg/w-d-xo.html
    Login & Signup UI Tutorial: th-cam.com/video/-32HIsRf26o/w-d-xo.html
    Email Sign In Tutorial: th-cam.com/video/rnHAInnjCmM/w-d-xo.html
    Native Splash Screen Tutorial: th-cam.com/video/8ME8Czqc-Oc/w-d-xo.html
    Onboarding Screen Tutorial: th-cam.com/video/CQlA2p--oEg/w-d-xo.html
    Change App Icon Tutorial: th-cam.com/video/n3r2kgnqhfo/w-d-xo.html
    Internationalization Tutorial: th-cam.com/video/Zw4KoorVxgg/w-d-xo.html
    Quiz UI App Tutorial: th-cam.com/video/gSvd-i0JSsU/w-d-xo.html
    Tinder Dating App Tutorial: th-cam.com/video/v1wofhoutBk/w-d-xo.html
    Build Chat App Tutorial: th-cam.com/video/wHIcJDQbBFs/w-d-xo.html

  • @mrsuli1624
    @mrsuli1624 3 ปีที่แล้ว +3

    i can't describe this channel , you don't know how much your videos was useful for me , thank you teacher 🖤.

  • @aperson99936
    @aperson99936 3 ปีที่แล้ว +4

    good stuff. I don't know if you did this already but if you didn't could you make a tutorial about flutter's semantics/accessibility class? there aren't as many tutorials on that topic as there should be

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +3

      Thank you for this idea, Byron! 🙂 Sure this is a really great idea, I have added it to my list of ideas for future videos.

  • @faizulla5838
    @faizulla5838 3 ปีที่แล้ว

    You are the best, unambiguous! You are Sensei!!!

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

    Absolutely the best. I love this channel like no ever. ❤️

  • @faizulla5838
    @faizulla5838 3 ปีที่แล้ว

    Молодец, Братишка!!! Дай Бог тебе здоровья!!!

  • @Boy-tq3zy
    @Boy-tq3zy 3 ปีที่แล้ว

    You are definitely the best ,, all support for you ..

  • @mildercastillo2
    @mildercastillo2 3 ปีที่แล้ว

    what a great tutorial! bravo!

  • @mohammadb8041
    @mohammadb8041 5 หลายเดือนก่อน

    thank you very much, it was really useful ❤🌹

    • @HeyFlutter
      @HeyFlutter  5 หลายเดือนก่อน

      You’re most welcome, @mohammadb8041! 🙂

  • @deutschmitarabien
    @deutschmitarabien 3 ปีที่แล้ว

    hey Johnnes can you make video on how to save fingerprint to databse

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

    joooo johannes milke

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

    You always amaze me with your vidéos thank you

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

      Glad to hear that, Thank you Nasser Baba! 😊

  • @rohansaini2026
    @rohansaini2026 3 ปีที่แล้ว +2

    Thank you soo much Johannes Mike.
    In my project, no popup with text "touch sensor, Scan fingerprint to Authenticate " is showing ...thus I am unable to scan fingerprint.
    Where is the code for that popup (in which file)
    Please help ❤️

    • @rohansaini2026
      @rohansaini2026 3 ปีที่แล้ว

      Please guide me sir 🙏

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

      Thanks, Rohan Saini! 🙂
      You can find that code in local_auth_api.dart file, for more clearance watch video at 0:17​ Authenticate With Fingerprint

  • @raymondmichael4987
    @raymondmichael4987 3 ปีที่แล้ว

    This very useful indeed.
    Can create a tutorial on how to print using a handheld device, like a POS MACHINE

    • @raymondmichael4987
      @raymondmichael4987 3 ปีที่แล้ว

      @@HeyFlutter, indeed there're ANDROID POS which are smartphones with thermal printer inside, like those handheld pos thermal printers example 'MP3_PLUS models', which are smartphones with every function of a smartphone with addition of that printer

  • @md.ruhulamin7963
    @md.ruhulamin7963 3 ปีที่แล้ว +1

    Thank you sir. One question, is it possible to add an external device with flutter application for get fingerprint??

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

    bigggggg thnx for this tutorial .

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

    Can you please make a video on flutter pdf and pos printer for windows?

  • @valkyriecain4951
    @valkyriecain4951 3 ปีที่แล้ว +1

    Hey I am new to programming, and this really helped. What if I want to add a passcode which you always have to set and if the device has biometrics like faceID and touchID it asks if you want to use those instead of the Passcode? hope you understood what I mean... Thanks again, ❤️

  • @adeelzahid9622
    @adeelzahid9622 3 ปีที่แล้ว

    very appreciated. It's fun to implement it on a real project. 👍👍✔

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

    Thanks very much, that very useful. 👍

  • @sanjibdutta9270
    @sanjibdutta9270 3 ปีที่แล้ว

    Very helpful 👍

  • @thazeroword646
    @thazeroword646 3 ปีที่แล้ว

    Useful video

  • @YazinS
    @YazinS 3 ปีที่แล้ว

    Great video, keep it up

  • @ahmadsalem5418
    @ahmadsalem5418 3 ปีที่แล้ว

    WOW AMAZING

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

    Thanks 💞

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

    This code works for my Samsung phone but not for miui and oppo phones. Also, how can I select only one biometric option? I am getting all fingerprint,face ID, and pattern?

  • @designerdeveloper9900
    @designerdeveloper9900 3 ปีที่แล้ว

    What if i want to call home method when fingerprint sensor detects finger. Instead of calling on button pressed?

  • @austinevick
    @austinevick 3 ปีที่แล้ว

    Wow this is bomb

  • @johnpeter122
    @johnpeter122 3 ปีที่แล้ว

    Awesome!

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

    Please help!
    getting error - Type mismatch inferred type is MainActivity but FlutterActivity! was expected - getting this error while chnaging FlutterActivity to FlutterFragmentActivity for local authentication in flutter

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

    Hello guys , am asking , is there a way to get phones pin/password/pattern using a flutter package 📦.
    Because yes the fingerprint works , but other many phones don't have the biometric methods of auth...???
    Is there a way or one needs to make his pin system .

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

      Thanks for the idea LEONARD KIPTALA 😀, i have added it in my list of future videos

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

      Nice videos 😊👍

  • @ziyadmansy6016
    @ziyadmansy6016 3 ปีที่แล้ว

    Would ypu tell me how dis the package differentiate between fingerprint auth or face id auth?!
    You used the same function for both cases! So, how did the auth type change?!

    • @ziyadmansy6016
      @ziyadmansy6016 3 ปีที่แล้ว

      @@HeyFlutter Replying to me everytime is something that i respect very much, thats why i like every vid of yours without thinking ♥️ thanks 👌✌️

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

      Good question, Ziyad! Basically, it depends solely on what the user has enabled on his device. If Fingerprints & Face ID are enabled then also both of them will show up within the popup widget. Therefore you cannot decide between Face ID & Fingerprint directly with this package right now. However you could f.e. check if fingerprint is available and if this is the case then you only call the authenticate method.

  • @mohamedkhattab7002
    @mohamedkhattab7002 3 ปีที่แล้ว

    nice video pro but i would like to ask you did you use apackage or not ?

  • @tanujagrawal9537
    @tanujagrawal9537 3 ปีที่แล้ว

    Very cool tutorial! What if I want a pin code authentication. Does it support that?

    • @tanujagrawal9537
      @tanujagrawal9537 3 ปีที่แล้ว

      @@HeyFlutter how? I couldn't find anything related to it

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

    Hi Bro it's helpful. but the problem is even after setting useErrorDialogs to true. if face id is not enabled instead of showing dialog of settings. It throws platform exception

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

      Thank you Fahad Mustafa, make sure to follow the tutorial step by step 🙂

  • @TrikNgonlen
    @TrikNgonlen 3 ปีที่แล้ว

    Hi, @Johannes Milke... As always, your videos are very useful, very helpful...
    Can I use this for, let's say, digitally sign documents?
    Can I use this for login to API server?

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

      Thanks, Trik! 🙂 You could learn more about security of Local Auth here. Right now, I'm not planning to create more videos on Local Auth Fingerprint.
      1) Security of Local Auth Tutorial & When Not to use it: th-cam.com/video/4-P_Su9O5NM/w-d-xo.htmlm26s
      2) Local Auth Security Article: medium.com/csg-govtech/how-you-should-secure-your-androids-app-biometric-authentication-10d9231215e4

  • @zainansari1057
    @zainansari1057 3 ปีที่แล้ว

    Is there any way to modify the ui of fp verification popup ?

  • @JayanThrissur
    @JayanThrissur 3 ปีที่แล้ว

    Thanks Bro.
    But when we use it with an app which is using api for authentication then where it is saving the credentials.

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

      did you find a workaround to it? i am also looking for same thing

  • @OmarMolina98
    @OmarMolina98 3 ปีที่แล้ว

    From where did you get the folder api?

  • @YazhiniMalarPari
    @YazhiniMalarPari 7 หลายเดือนก่อน

    can i change the color of the fingerprint icon

    • @HeyFlutter
      @HeyFlutter  7 หลายเดือนก่อน

      Thank you, @user-tu4rw8lb9p! 🙂. Yes you can
      .

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

    Hi , Please I converted my website to flutter mobile app , and the websites has a login and signup page , is there any way I can authenticate the login page with flutter local authentication ?

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

      Thank You AMVID Entertainment! Follow this link: pub.dev/packages/local_auth
      I hope you will get your answer 🙂

  • @tanaysingh1668
    @tanaysingh1668 3 ปีที่แล้ว

    can we pass "values code decryption" to backend if the user is authenticated

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

      Thank You Tanay Singh! Follow this link: stackoverflow.com/questions/67546548/encryption-in-java-and-decryption-in-flutter-aes-256
      I hope you will get your answer 🙂

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

    how about canceling fingerprint?

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

      Thank You flower flower! Follow this link: pub.dev/packages/local_auth
      I hope you will get your answer 🙂

  • @Praveenmgupta
    @Praveenmgupta 3 ปีที่แล้ว

    Hi, I want my app to check fingerprint authentication as soon as it loads without using onPressed function. Can you help

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

      Thanks, Praveen! 🙂 Simply execute it somewhere else such as within the initState method. Learn more about the Flutter Lifecycle here: th-cam.com/video/FL_U8ORv-2Q/w-d-xo.html

  • @ikramullah6492
    @ikramullah6492 3 ปีที่แล้ว

    how can we use MainActivity extends with flutterFragmentActivity for local_auth if we are already using some other native functionality in MainActivity which extends flutterActivity,

    • @ikramullah6492
      @ikramullah6492 3 ปีที่แล้ว

      @@HeyFlutter thank you so much. I'll try this Tonight. hope this will work.🤗

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

      Thank You Ikram Ullah! Follow this link: github.com/flutter/flutter/issues/67472
      I hope you will get your answer 🙂

  • @Dabayare
    @Dabayare 3 ปีที่แล้ว

    How safe is authenticating users if I have a website on internet with mysql database using https and what libraries or functions does flutter have?

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

      Thanks, Dabayare! 🙂 Learn more about real authentication in these tutorials:
      1. Google SignIn Tutorial: th-cam.com/video/ogW83xGQGTg/w-d-xo.html
      2. Email Sign In Tutorial: th-cam.com/video/rnHAInnjCmM/w-d-xo.html

  • @priyaranjanmantri9332
    @priyaranjanmantri9332 3 ปีที่แล้ว

    How can user also put pin, pattern etc with biometric, please help

    • @priyaranjanmantri9332
      @priyaranjanmantri9332 3 ปีที่แล้ว +1

      @@HeyFlutter I tried this.
      But one problem if device has biometric then there is no option for passcode or pin or pattern

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

      Thank You Priyaranjan Mantri! Follow this link: pub.dev/packages/local_auth
      I hope you will get your answer 🙂

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

    sadly outdated, the => build button doesn't work anymore and i cant get it running

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

      @@HeyFlutter hey, thanks for the reply. I instead used elevated button and searched up another tutorial if I remember correctly

  • @allintamilvideos6005
    @allintamilvideos6005 3 ปีที่แล้ว

    Make video for flutter text input formatters
    Make video for how to build apk in flutter demo project
    Make video for voice recording like WhatsApp note*on long press to record
    Make video for best way http get post update methods
    Make video for best folder structure for big projects
    Make video for reusing widgets..
    Cheers👍

    • @allintamilvideos6005
      @allintamilvideos6005 3 ปีที่แล้ว

      @@HeyFlutter I want only 10digit number only in text field except special character only 10digit numbers only how can I achieve that?

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

      Thanks for these ideas, Tamil! 🙂 Let's see what the future holds. Check my video out about Text Input Formatters: th-cam.com/video/FxmlU5NnRX8/w-d-xo.html

  • @meansokleap5740
    @meansokleap5740 3 ปีที่แล้ว

    great

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

    What about IOS

  • @kolyakorol2242
    @kolyakorol2242 3 ปีที่แล้ว

    Is it working on android versions 7 and lower?

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

      Thanks Kolya! 🙂 It works from Android 6.0 according to this here: pub.dev/packages/local_auth#local_auth
      Also learn more about the versions here: pub.dev/packages/local_auth#android-integration

  • @Praveenmgupta
    @Praveenmgupta 3 ปีที่แล้ว

    MainActivity.kt giving error. Please help

    • @Praveenmgupta
      @Praveenmgupta 3 ปีที่แล้ว

      @@HeyFlutter Yes, it absolutely as per your source code, May be something has changed in flutter or dart.. please check at your end..

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

      Thanks, Praveen! 🙂 Simply try to run my source code directly, if you still face issues file a bug here for local auth: github.com/flutter/flutter/issues

  • @shei69
    @shei69 3 ปีที่แล้ว

    Can you do one with NFC

  • @robertoluizteixeirarocha5498
    @robertoluizteixeirarocha5498 3 ปีที่แล้ว

    Hi, thanks for the tutorial. I have been trying for a long time to implement this plugin to an old project and I always get errors. I updated MainActivity.kt as in the example code and got the error below.
    import io.flutter.embedding.android.FlutterFragmentActivity
    import io.flutter.embedding.engine.FlutterEngine
    import io.flutter.plugins.GeneratedPluginRegistrant
    class MainActivity: FlutterFragmentActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
    GeneratedPluginRegistrant.registerWith(flutterEngine)
    }
    }
    MainActivity cannot be cast to io.flutter.embedding.android.FlutterActivity
    Can you help?

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

      Hello, Roberto Luiz Teixeira Rocha! Follow these links: github.com/AmolGangadhare/flutter_barcode_scanner/issues/128, I hope it will solve your problem. Thank You 🙂

  • @Anonymous-XY
    @Anonymous-XY 3 ปีที่แล้ว

    "authenticateWithBiometrics" is now deprecated use "authenticate(biometricOnly: true,)" instead.

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

      Thank you, Soufiane Saadouni! 🙂
      Libraries keep on updating on monthly basis, form these youtube videos you get an idea of implementing something, but make sure to follow the latest documentation offered by the package

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

      Yo , thanks 🙏, but am asking about what if you need auth , using device that has no fingerprint sensor?