cordova-plugin-fingerprint-aio
Advanced tools
Comparing version 0.1.5 to 0.2.0
{ | ||
"name": "cordova-plugin-fingerprint-aio", | ||
"version": "0.1.5", | ||
"version": "0.2.0", | ||
"description": "Cordova plugin to use fingerprint authentication on Android and iOS", | ||
@@ -34,4 +34,4 @@ "cordova": { | ||
"devDependencies": { | ||
"cordova-paramedic": "*" | ||
"jasmine": "*" | ||
} | ||
} |
# Cordova Plugin Fingerprint All-In-One | ||
## **A**ndroid and **IO**s | ||
[](https://badge.fury.io/js/cordova-plugin-fingerprint-aio) | ||
[](https://badge.fury.io/gh/niklasmerz%2Fcordova-plugin-fingerprint-aio) | ||
[](https://circleci.com/gh/NiklasMerz/cordova-plugin-fingerprint-aio) | ||
@@ -10,2 +12,11 @@ This plugin is my attempt to provide a single interface for accessing fingerprint hardware on both Android 6+ and iOS. | ||
## Disclaimer | ||
This is just an simpler implementation of the original plugins. At the moment the API could change every day and the plugin build could crash or have secutity issues. If you use fingerprint authentication in production use the plugins below. | ||
## Thanks to the authors of the original fingerprint plugins: | ||
https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth | ||
https://github.com/EddyVerbruggen/cordova-plugin-touch-id | ||
## Work in Progress | ||
@@ -20,10 +31,4 @@ Use with caution at the moment. Still under development.. | ||
## Thanks to the authors of the original fingerprint plugins: | ||
https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth | ||
https://github.com/EddyVerbruggen/cordova-plugin-touch-id | ||
## How to use | ||
For now refer to my demo app: https://github.com/NiklasMerz/fingerprint-aio-demo |
@@ -24,37 +24,3 @@ function Fingerprint() { | ||
//TODO Android | ||
Fingerprint.prototype.didFingerprintDatabaseChange = function (successCallback, errorCallback) { | ||
cordova.exec( | ||
successCallback, | ||
errorCallback, | ||
"Fingerprint", | ||
"didFingerprintDatabaseChange", | ||
[] | ||
); | ||
}; | ||
//TODO Android | ||
Fingerprint.prototype.verifyFingerprintWithCustomPasswordFallback = function (message, successCallback, errorCallback) { | ||
cordova.exec( | ||
successCallback, | ||
errorCallback, | ||
"Fingerprint", | ||
"verifyFingerprintWithCustomPasswordFallback", | ||
[message] | ||
); | ||
}; | ||
//TODO Android | ||
Fingerprint.prototype.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel = function (message, enterPasswordLabel, successCallback, errorCallback) { | ||
cordova.exec( | ||
successCallback, | ||
errorCallback, | ||
"Fingerprint", | ||
"verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel", | ||
[message, enterPasswordLabel] | ||
); | ||
}; | ||
Fingerprint = new Fingerprint(); | ||
module.exports = Fingerprint; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27
33
127169
798