Skip to content

Adnif/biometric-auth-flutter

Repository files navigation

Flutter Biometric Auth

Description

This project is a Flutter application that demonstrates the use of biometric authentication using the local_auth package. It opens with a first screen containing a centered button. When the user clicks the button, it triggers the biometric sensor. If the biometric authentication is confirmed, it navigates to the second screen. If not, a toast message saying "Nda bisa" (which means "Cannot" in Indonesian) will be displayed.

Features

  • Biometric authentication using the local_auth package.
  • Simple and intuitive user interface with a centered button.
  • Feedback message ("Nda bisa") for unsuccessful biometric authentication.

Getting Started

Prerequisites

  • Flutter SDK installed
  • Android or iOS device/emulator for testing

Installation

  1. Clone the repository:
git clone https://github.com/Adnif/biometric-auth-flutter.git
  1. Install the depedencies:
flutter pub get

Packages and Libraries Used:

  1. local_auth 2.1.7
  2. fluttertoast 8.2.2

About

My exploration about biometric auth in flutter app. I use local_auth package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors