zkfinger10 0.0.1 copy "zkfinger10: ^0.0.1" to clipboard
zkfinger10: ^0.0.1 copied to clipboard

Flutter package for ZKFingerPrint Live devices

zkfinger10 #

Flutter package for ZKFingerPrint Live devices (It's not official package)

zk9500-500x350h

Getting Started #

TODO:

  • Migrate to Android Plugin V2 embedding (to catch app lifecycles)
  • Fix SDK issues
  • Add proper documentation

Add to Android Project:

  • In the Manifest permission section add:
   <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" />
  • Inside the activity tag in the Manifest file add:
<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" />
  • In res folder add xml folder then add device_filter.xml with the following content:
<?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

Sample:

com_example_zkfinger10_example

11
likes
0
pub points
60%
popularity

Publisher

verified publisherflutterdev.uz

Flutter package for ZKFingerPrint Live devices

Homepage

License

unknown (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on zkfinger10