Flutter Pin screen with Biometric Authenticator
Flutter package to create easily on screen pin input with biometric authentication.for Biometric its use Native SDK
Disclaimer : As of Now Only support for Android Platform
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
Feature
- Pin input
- Biometric Authentication
- Latest Native sdk support
Demo
In the below gif you can see the Black screen , it's happens when I tap the biometric icon on the screen. screen recorders cannot get catch due to underlaying OS restrictions.
Usage
first add the biometric permission to AndroidManifest.xml file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.app">
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
<manifest>
PinScreenWithBiometric
class to implement.
//implementation
PinScreenWithBiometric(
controller: textEditingController,
textFieldLength: 4,
authResultCallBack: (bool? result) {
debugPrint("BIOMETRIC RESULT IS `$result`");
},
),
Additional information
Welcome for Contribution
License
This package is licensed under the MIT license. See LICENSE for details.