# Release Notes
## 2.2.0 (29 July, 2024)
* cordova-ios 7.0.3 related upgrade
## 2.1.1 (13 March, 2024)
* Documentation update
## 2.1.0 (25 July, 2023)
* Debug Drop containing logs for Canon app issue
## 2.0.0 (21 Oct, 2022)
* Fixing incompatibilities with Cordova-Android 11

## 1.9.0 (20 Sep, 2022)
* Handling the error scenario for Local Authentication initialization.
## 1.8.1 (7 Mar, 2022)
* Suppressing the error thrown over iOS platform on click of DONE button in safari browser over remote authentication flow.

## 1.8.0 (18 Feb, 2022)
* Replacing the deprecated packages with latest androidx pacakge.

## 1.7.0 (13 Dec, 2021)
* Support for client certificate authentication flow.

## 1.6.0 (23 Oct, 2020)
* Support for two legged flow - FedAuth followed by a Basic Auth with native prompt.

## 1.5.1 (25 May, 2020)
* Support for parsing password as character array.

## 1.5.0 (11 May, 2020)
* Support for CSRF Protection for token relay service.

## 1.4.0 (8 Apr, 2020)
* Removing the referencing of UIWebView as per Apple guideline.

## 1.3.0 (3 Dec, 2019)
* API to control buttons shown on webview for OAuth usecase.
* Ability to store data into local authenticator secure keystore.

## 1.2.0 (7 Aug, 2019)
* API to control buttons shown on webview for WebSSO usecase.
* Improvements for OAuth and OpenID usecases where login page is opened in an external browser by using in-app browser.

## 1.1.9 (21 Jun, 2019)
* Face authentication support for iOS using new Biometric local authentication type.
* Fix for wrong login attempt number in PIN challenge callback.
* Fix for WebSSO usecase to disable buttons during page load and enable it afterwards.
* Minor optimizations for Android webview and broadcast usage.

## 1.1.8 (29 Apr, 2019)
* Removed "Temporary fix for basic auth to fall back to successful login irrespective of status returned by server" introduced in v1.1.4.
* Authenticate user using PIN before disabling any local authentication.
* iOS supports remembering username with FedAuth. Android has this support inbuilt in the OS level. Refer [android doc on autofill].(https://android-developers.googleblog.com/2017/11/getting-your-android-app-ready-for.html)
* sessionActiveOnRestart property can be set to reuse valid JWT token across app restarts with FedAuth SAML cases (when ParseTokenRelayResponse is set). User will not be challenged for credentials when there is a valid token available.
* Pass loginAttemptCount into PIN challenge callback.
* Authenticate user using PIN (with retry) before change PIN and then capture the new PIN. This simplifies the change PIN flow.

## 1.1.7 (10 Apr, 2019)
* Added max retry for PIN authentication. This kicks in for login attempts using PIN, directly or as fallback from Fingerprint. It also kicks in for PIN change.
* For SAML based WebSSO, with parseTokenRelayResponse turned on, getHeaders can return cookies as headers in addition to the access tokens when header options specify fedAuthSecuredUrl.

## 1.1.6 (22 Mar, 2019)
* Fix regression - isAuthenticated not returning correct value for basic auth.
* Improve the way isAuthenticated is determined for local authentication.

## 1.1.5 (12 Mar, 2019)
* Bug fix in Android with OpenId usecase where user was considered logged in even after access token expired.
* Fix to refresh access token when checking for isAuthenticated.
* Doc improvements.

## 1.1.4 (21 Feb, 2019)
* Bug fixes for local authentication.
* Temporary fix for basic auth to fall back to successful login irrespective of status returned by server.
This is because plugin did not check for 2xx status in 1.0.4 for basic auth. Someone relying on that will fail while upgrading.
So this is a stop gap arrangement for those.
Note that with next release, plugin will insist on 2xx status code from server for successful authentication for basic auth.

## 1.1.3 (27 Sep, 2018)
* Bug fixes in android related to error codes returned and authentication before changing PIN.

## 1.1.2 (24 Sep, 2018)
* Bug fix on cancel behavior for iOS local authentication.
* Added API to fetch device supported local authentication types.

## 1.1.1 (30 Jul, 2018)
* Removed android SDK version dependencies so that apps can freely change the versions. Recommended versions are documented.


## 1.1.0 (25 Jul, 2018)
* Added local authentication support using PIN and Fingerprint.
* Deprecated getHeaders(fedAuthSecuredUrl, oauthScopes) and replaced it with getHeaders(options).
* Deprecated login(challengeCallback) and replaced it with login(). Challenge callback can be set in authentication properties builder.
* Deprecated init(authProps, timeoutCallback) and replaced it with init(authProps). Timeout callback can be set in authentication properties builder.

## 1.0.4 (May 18, 2018)
* Upgrade min SDK from 16 to 19

## 1.0.3 (Mar 20, 2018)
* Fixed issue with OpenId where an error page is displayed momentarily after login.

## 1.0.2 (Feb 8, 2018)
* Fix open id auth issue with android
* Fix issues with cordova-android 6.0

## 1.0.1 (Dec 5, 2017)
* Fix basic auth crash in ios when username and password is blank or null.

## 1.0.0 (Nov 13, 2017)
