Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

flutter android fingerprint integration

I am looking for some guidance when using flutter over a platform channel to integrate with android fingerprint authentication. I have the android part working and the flutter app with call the method, but I can not seem to get just a pop-up of fingerprint authentication like I do in swift, which works fine in the same flutter app, in order for it to pass results to the flutter app and let the flutter app continue on. If anyone has any examples or some guidance it would be greatly appreciated.

like image 502
Robert Avatar asked Jul 05 '17 15:07

Robert


People also ask

How do I use local auth in flutter?

import 'package:flutter/services. dart'; import 'package:local_auth/error_codes. dart' as auth_error; import 'package:local_auth/local_auth. dart'; // ··· final LocalAuthentication auth = LocalAuthentication(); // ··· try { final bool didAuthenticate = await auth.

What is biometric authentication?

Biometric authentication is a security process that relies on the unique biological characteristics of individuals to verify they are who they say they are. Biometric authentication systems compare physical or behavioral traits to stored, confirmed, authentic data in a database.

How do I add a fingerprint sensor to my flutter project?

If you’re using IntelliJ IDEA with Flutter plugin, you’ll get a tip to get the packages which you can use. Otherwise just use the following command (from within your project’s root) to get the package. This will add the package to your project. Your Android app will need additional permission to be able to use the fingerprint sensor.

How to implement fingerprint authentication API in Android apps?

In fundamental terms, fingerprint authentication is primarily a matter of encryption including a key, a figure to perform the encryption and a fingerprint manager to handle with the validation procedure. To implement fingerprint authentication API in your Android application you need to get the Android SDK first.

How to use local_Auth plugin in flutter?

Flutter is a great framework to work with and one of the reason is its abundant plugin. So for this project, we will be using one such plugin called “ local_auth “. To add this plugin, open pubsec.yaml file and add the line as shown below: After adding the plugin, you can run “flutter pub get”.

How to use instatouchauth with flutter?

I will be naming the project as “ InstaTouchAuth “. Flutter is a great framework to work with and one of the reason is its abundant plugin. So for this project, we will be using one such plugin called “ local_auth “. To add this plugin, open pubsec.yaml file and add the line as shown below: After adding the plugin, you can run “flutter pub get”.


1 Answers

Try the local_auth plugin -- it comes with usage instructions and an example app.

like image 164
Collin Jackson Avatar answered Sep 21 '22 13:09

Collin Jackson