All notable changes to this project will be documented in this file.
2.1.4 - 2020-02-10
- Removed duplicate onAuthenticationError call in android
- Upgraded androidx.biomtric to the latest fix version
2.1.3 - 2020-01-27
- Fixed readme typo
- Improved android prompt cancellation handling
2.1.2 - 2019-12-29
- Improved biometryType typescript definition
2.1.1 - 2019-11-20
- Fixed npm release error
2.1.0 - 2019-11-20
- Refactored the javascript portion of the library into typescript
2.0.0 - 2019-11-19
- Requires React Native 0.60+ for androidx compatibility
- All functions now take an options object and return a result object
createSignature
no longer prompts user for biometrics,simplePrompt
can be used in conjunction with it to achieve the same effectcreateSignature
andsimplePrompt
no longer reject on cancellation, they resolve with a success flag set to false when a user cancels a biometric prompt- Android no longer resolves to biometry type of
TouchID
, it only resolves toBiometrics
- Used android BiometricPrompt API for biometrics
- Changed library function API
- Added better support for prompt cancellations
- Started to return native error messages in promise rejections
1.7.0 - 2019-11-5
- Removed dependency on android app compat library for compatibility with androidx
- Used new access control policy for ios keystore
1.6.1 - 2019-8-12
- Fixed reported security issues from npm in dev dependencies
1.6.0 - 2019-7-10
- Disabled use password option on iOS by default
- Detected if keys exists before trying to delete them and returned false in promise result in order to prevent error from occurring
1.5.2 - 2019-5-9
- Fixed android compilation error by re-organizing order of gradle repositories
1.5.1 - 2019-4-26
- Updated doc strings and type definition for the createKeys function
1.5.0 - 2019-4-17
- Added the ability to not display a biometrics prompt when creating keys
1.4.0 - 2019-4-3
- Fixed reported security issues from npm
- Added a dependency on appcompat-v7 in android to ensure required UI libraries are available
- Added a podspec file
1.3.0 - 2019-1-24
- Removed src directory and moved index.js to the root
- Made sure all android error messages start with a capital letter
- Added a function for simply displaying a biometric prompt
1.2.0 - 2018-11-29
- Upgraded default android SDK version to 28
- Upgraded gradle version and added the gradle wrapper
- Removed npmignore files in favor of gitignore
- Added the ability to override android SDK and build versions using gradle extra properties extension
1.1.3 - 2018-08-09
- Fixed typo in readme
- Fixed reported security issues from npm
- Added type script definitions
1.1.2 - 2018-06-14
- Fixed public key format in iOS
1.1.1 - 2018-06-11
- Fixed potential null pointer exception that could occur from saved android dialog fragments
1.1.0 - 2018-05-03
- Added enums for sensor types
- Fixed IllegalState exception that occurred in android when dialog is dismissed improperly
- Fixed issue where promise rejection could be called more than once on android
1.0.2 - 2018-04-12
- fixed typo in readme documentation
- Initial release
- Added native code to detect sensor type
- Added native code to create private public key pairs
- Added native code to use private key to create a signature given a payload