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 |
---|---|---|---|---|---|
✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
- Pin input
- Biometric Authentication
- Latest Native sdk support
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.
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`");
},
),
Welcome for Contribution
This package is licensed under the MIT license. See LICENSE for details.