Mamasodikov / zk_finger_10

The zkfinger10 plugin is used for supporting fingerprint device of ZKTECO with enrolling and verification feature.
https://pub.dev/packages/zkfinger10
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link
fingerprint fingerprint-authentication fingerprint-scanner fingerprint-sensor fingerprintmatching flutter package plugin pubdev scanner zkteco

zkfinger10 - Fingerprint plugin for Flutter

This package can provide support for ZKTeco fingerprint scanners. Its compatible devices are SLK20R and ZK series fingerprint scanners, including ZK9500, ZK6500, ZK8500R. The package could be work on Android OS. (It's not official package)

zk9500-500x350h

Getting Started

Add to Android Project:

   <uses-permission
        android:name="android.permission.READ_EXTERNAL_STORAGE"
        android:maxSdkVersion="32" />
    <uses-permission
        android:name="android.permission.WRITE_EXTERNAL_STORAGE"
        android:maxSdkVersion="32"
        tools:ignore="ScopedStorage" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.hardware.usb.host" />
<intent-filter>
    <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
    <action android:name="android.intent.action.BOOT_COMPLETED" />
  </intent-filter>
  <meta-data
           android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
           android:resource="@xml/device_filter" />
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <usb-device vendor-id="6997" product-id="289" />
</resources>

==============

⚠️ Warning Add these lines to your app-level build.gradle if you have problems on release:

    buildTypes {
        release {
           ....

            //Add these lines when releasing your app
            minifyEnabled false
            shrinkResources false
            // useProguard false 

        }
    }

If you have other issues related to the package you can open PR or make your own package based on the newer SDK: https://github.com/Mamasodikov/ZKFinger10Demo Docs:

TODO:

Sample:

com_example_zkfinger10_example