Socket
Socket
Sign inDemoInstall

cordova-plugin-android-fingerprint-auth

Package Overview
Dependencies
0
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.5 to 1.5.0

4

changelog.md

@@ -0,1 +1,5 @@

# Version 1.50
### What's New
* Added new `dismiss()` action
# Version 1.4.5

@@ -2,0 +6,0 @@ ### What's New

2

package.json
{
"name": "cordova-plugin-android-fingerprint-auth",
"version": "1.4.5",
"version": "1.5.0",
"description": "Cordova plugin to use Android fingerprint authentication API",

@@ -5,0 +5,0 @@ "cordova": {

@@ -57,2 +57,3 @@ # Update to Version 1.4.0

* [delete(deleteConfg, successCallback, errorCallback)](#module_fingerprintauth.delete)
* [dismiss(successCallback, errorCallback)](#module_fingerprintauth.dismiss)
* [ERRORS](#module_fingerprintauth.errors)

@@ -237,3 +238,23 @@ * [Config Object](#module_fingerprintauth.config)

<a name="module_fingerprintauth.dismiss"></a>
# FingerprintAuth.dismiss(successCallback, errorCallback)
Used to dismiss a Fingerprint Authentication Dialog if one is being displayed
**Example**
```javascript
FingerprintAuth.dismiss(successCallback, errorCallback);
function successCallback(result) {
console.log("Successfully dismissed FingerprintAuth dialog: " + JSON.stringify(result));
}
function errorCallback(error) {
console.log(error);
}
```
<a name="module_fingerprintauth.errors"></a>

@@ -262,1 +283,2 @@

| SECURITY_EXCEPTION | String | "SECURITY_EXCEPTION" |
| FRAGMENT_NOT_EXIST | String | "FRAGMENT_NOT_EXIST |

@@ -60,2 +60,12 @@ function FingerprintAuth() {

FingerprintAuth.prototype.dismiss = function (successCallback, errorCallback) {
cordova.exec(
successCallback,
errorCallback,
"FingerprintAuth", // Java Class
"dismiss", // action
[{}]
);
};
FingerprintAuth.prototype.isAvailable = function (successCallback, errorCallback) {

@@ -62,0 +72,0 @@ cordova.exec(

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc