This plugin enables fingerprint authentication for the android A370 tablets.
The TambazaFingerprintAuth
object provides functions to make interacting with the fingerprint scanner available in the A370 tablets easier, and has two functions to validate or register a big fingerprint in the tablet via the fingerprint scanner.
To add it to your project, run the command
cordova plugin add tambaza-plugin-fingerprintauth
- TambazaFingerprintAuth.registerFingerprint
- TambazaFingerprintAuth.validateFingerprint
This function registers the fingerprint via the scanner and returns the id of the fingerprint stored in flash memory after registration,
TambazaFingerprintAuth
.registerFingerprint(function(successID){
//on fingerprint registration success it returns the id of the fingerprint that has been stored in the flash memory
//do something with the id i.e. store it in a db or something
},function(error){
//do some error handling
});
This function validates the fingerprint via the scanner and returns the id of the fingerprint stored in flash memory after validation,
TambazaFingerprintAuth
.validateFingerprint(function(successID){
//on fingerprint validation success it returns the id of the fingerprint matched in the flash memory
//do something with the id i.e. store it in a db or something
},function(error){
//do some error handling
});
- Android
For now the plugin supports the only registering and validation of big fingerprints but in the future once the vendor releases better documentation for the API, i'll also support the small fingerprints as well.
- For now there are no known bugs but if you do find one, please create an issue as always and I'll look into it during my spare time :)
To support further development and maintenance of this plugin you can donate below