Skip to content

Commit

Permalink
Merge pull request #25 from OutSystems/development
Browse files Browse the repository at this point in the history
RMET-3883 - Prepare release of `4.0.0`
  • Loading branch information
OS-pedrogustavobilro authored Dec 11, 2024
2 parents 7099956 + 7a331ee commit be72e38
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

The changes documented here do not include those from the original repository.

## [3.1.8]
## [4.0.0]

## 05-12-2024
- [Android] Breaking Change - Return error information in callback

## 04-12-2024
- [Android] Fix issue where multiple wrong biometric attempts would cause the plugin to return lockout automatically in future prompts.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "outsystems-plugin-fingerprint",
"version": "3.1.8",
"version": "4.0.0",
"description": "Cordova FingerPrint Plugin",
"cordova": {
"id": "outsystems-plugin-fingerprint",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="outsystems-plugin-fingerprint"
version="3.1.8">
version="4.0.0">
<name>fingerprint</name>
<description>Cordova FingerPrint Plugin</description>
<license>Apache 2.0</license>
Expand Down
4 changes: 2 additions & 2 deletions www/FingerPrint.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ FingerPrint.prototype.isAvailable = function (successCallback, errorCallback) {
}

function isAvailableError(error) {
errorCallback(-1);
errorCallback(error);
}
// if the device is android call the Fingerprint plugin
if(cordova.platformId === "android")Fingerprint.isAvailable(isAvailableSuccess, isAvailableError);
Expand Down Expand Up @@ -70,7 +70,7 @@ FingerPrint.prototype.checkBiometry = function(successCallback, errorCallback) {
}

function isAvailableError(error) {
errorCallback(-1);
errorCallback(error);
}

// if the device is android call the Fingerprint plugin
Expand Down

0 comments on commit be72e38

Please sign in to comment.