biometric_signature 1.0.0 copy "biometric_signature: ^1.0.0" to clipboard
biometric_signature: ^1.0.0 copied to clipboard

Flutter biometric functionality for cryptographic signing and encryption

biometric_signature #

"This Flutter plugin provides an easy way to integrate cryptographic signing with biometric authentication using the Android KeyStore and iOS KeyChain."

On supported devices, this includes authentication with biometrics such as fingerprint or facial recognition or iris scanning.

Android iOS
Support SDK 23+ 11.0+

Getting started #

To use this plugin, add biometric_signature as a dependency in your pubspec.yaml file.

iOS Integration #

This plugin works with Touch ID or Face ID. To use Face ID in available devices, you need to add:


<key>NSFaceIDUsageDescription</key>
<string>This app is using FaceID for authentication</string>

to your Info.plist file.

Android Integration #

Activity Changes #

This plugin requires the use of a FragmentActivity as opposed to Activity. This can be easily done by switching to use FlutterFragmentActivity as opposed to FlutterActivity in your manifest or your own Activity class if you are extending the base class.

Permissions #

Update your project's AndroidManifest.xml file to include the USE_BIOMETRIC permission.


<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.app">
  <uses-permission android:name="android.permission.USE_BIOMETRIC" />
</manifest>

Checkout the Example section for an implementation

8
likes
0
pub points
80%
popularity

Publisher

verified publishervisionflutter.com

Flutter biometric functionality for cryptographic signing and encryption

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on biometric_signature