0.0.27 • Published 5 years ago

cordova-plugin-zkfinger v0.0.27

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

cordova-plugin-zkFinger

This is a simple unofficial plugin to integrate basic finger scanning functionality via the zkteco zk4500 to your android device

Feel free to make contributions to the package.

To install

ionic cordova plugin add cordova-plugin-zkfinger

To scan a finger

After the 'deviceready' event

cordova.plugins.zkFinger.scan(Function success_callback, Function error_callback)

e.g

//@ Define the success callback
const success = ( msg ) => {
    //@ do something
    <!-- msg contains the fingerprint data -->
};
//@ Define the error/alternative callback 
const error     = err_msg => {
    //@ do something else e.g display the error message
};

//@ Scan
cordova.plugins.zkFinger.scan( success, error);

//! That's about all

To save a template to the device

After the 'deviceready' event

cordova.plugins.zkFinger.saveTemplate(String filepath, String fileContent, Function success_callback, Function error_callback)

e.g

//@ Define the success callback
const success = ( msg ) => {
    //@ do something
};
//@ Define the error/alternative callback 
const error     = err_msg => {
    //@ do something else e.g display the error message
};

//@ write
cordova.plugins.zkFinger.saveTemplate( "/storage/emulated/0/bixbyte_user_1.txt", "Finger Template Data" ,success, error);

//! That's about all
0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.1

5 years ago