@nguyenthang9720/react-native-biometrics-sic
Version:
React Native biometric functionality for signing and encryption
160 lines (133 loc) • 6.86 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
## [3.0.0] - 2022-09-06
## Changed
- Re-releasing 2.2.0 as 3.0.0. 2.2.0 introduced a breaking API change and should have been released as a new major version.
### [2.2.1] - 2022-09-06
## Changed
- Re-releasing 2.1.4 as 2.2.1 due to breaking API change released in 2.2.0. 2.2.0 will be re-released as 3.0.0 due to the breaking API change.
## [2.2.0] - 2020-02-10
## Changed
- iOS
+ Fixed compatability issue with XCode 12
+ Added optional passcode fallback for iOS devices when FaceID or TouchID fails and the device has a passcode set.
+ Added `fallbackPromptMessage` to `simplePrompt`. This controls the message that is shown when FaceID or TouchID has failed and the prompt falls back to the device passcode for authentication.
- Android
+ Upgraded androidx.biometric 1.1.0
* Added `allowDeviceCredentials` option, for android devices, to `isSensorAvailable`, `createSignature` and `simplePrompt`. This option is only affects devices running API 30 or greater. Devices running API 29 or less cannot support device credentials when performing crypto based authentication. See https://developer.android.com/reference/androidx/biometric/BiometricPrompt.PromptInfo.Builder#setAllowedAuthenticators(int)
+ Updated `build.gradle` file to avoid unnecessary downloads and potential conflicts when the library is included as a module dependency in an application project.
## [2.1.4] - 2020-02-10
## Changed
- Removed duplicate onAuthenticationError call in android
- Upgraded androidx.biomtric to the latest fix version
## [2.1.3] - 2020-01-27
## Changed
- Fixed readme typo
- Improved android prompt cancellation handling
## [2.1.2] - 2019-12-29
## Changed
- Improved biometryType typescript definition
## [2.1.1] - 2019-11-20
## Changed
- Fixed npm release error
## [2.1.0] - 2019-11-20
## Changed
- Refactored the javascript portion of the library into typescript
## [2.0.0] - 2019-11-19
### Breaking
- 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 effect
- `createSignature` and `simplePrompt` 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 to `Biometrics`
### Changed
- 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
### Changed
- 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
### Changed
- Fixed reported security issues from npm in dev dependencies
## [1.6.0] - 2019-7-10
### Changed
- 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
### Changed
- Fixed android compilation error by re-organizing order of gradle repositories
## [1.5.1] - 2019-4-26
### Changed
- Updated doc strings and type definition for the createKeys function
## [1.5.0] - 2019-4-17
### Added
- Added the ability to not display a biometrics prompt when creating keys
## [1.4.0] - 2019-4-3
### Changed
- Fixed reported security issues from npm
- Added a dependency on appcompat-v7 in android to ensure required UI libraries are available
### Added
- Added a podspec file
## [1.3.0] - 2019-1-24
### Changed
- Removed src directory and moved index.js to the root
- Made sure all android error messages start with a capital letter
### Added
- Added a function for simply displaying a biometric prompt
## [1.2.0] - 2018-11-29
### Changed
- Upgraded default android SDK version to 28
- Upgraded gradle version and added the gradle wrapper
- Removed npmignore files in favor of gitignore
### Added
- Added the ability to override android SDK and build versions using gradle extra properties extension
## [1.1.3] - 2018-08-09
### Changed
- Fixed typo in readme
- Fixed reported security issues from npm
### Added
- Added type script definitions
## [1.1.2] - 2018-06-14
### Changed
- Fixed public key format in iOS
## [1.1.1] - 2018-06-11
### Changed
- Fixed potential null pointer exception that could occur from saved android dialog fragments
## [1.1.0] - 2018-05-03
### Added
- Added enums for sensor types
### Changed
- 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
### Changed
- fixed typo in readme documentation
## 1.0.1 - 2018-04-12
### Added
- 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
[1.0.2]: https://github.com/SelfLender/react-native-biometrics/compare/1.0.1...1.0.2
[1.1.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.0.2...1.1.0
[1.1.1]: https://github.com/SelfLender/react-native-biometrics/compare/1.1.0...1.1.1
[1.1.2]: https://github.com/SelfLender/react-native-biometrics/compare/1.1.1...1.1.2
[1.1.3]: https://github.com/SelfLender/react-native-biometrics/compare/1.1.2...1.1.3
[1.2.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.1.3...1.2.0
[1.3.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.2.0...1.3.0
[1.4.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.3.0...1.4.0
[1.5.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.4.0...1.5.0
[1.5.1]: https://github.com/SelfLender/react-native-biometrics/compare/1.5.0...1.5.1
[1.5.2]: https://github.com/SelfLender/react-native-biometrics/compare/1.5.1...1.5.2
[1.6.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.5.2...1.6.0
[1.6.1]: https://github.com/SelfLender/react-native-biometrics/compare/1.6.0...1.6.1
[1.7.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.6.1...1.7.0
[2.0.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.7.0...2.0.0
[2.1.0]: https://github.com/SelfLender/react-native-biometrics/compare/2.0.0...2.1.0
[2.1.1]: https://github.com/SelfLender/react-native-biometrics/compare/2.1.0...2.1.1
[2.1.2]: https://github.com/SelfLender/react-native-biometrics/compare/2.1.1...2.1.2
[2.1.3]: https://github.com/SelfLender/react-native-biometrics/compare/2.1.2...2.1.3
[2.1.4]: https://github.com/SelfLender/react-native-biometrics/compare/2.1.3...2.1.4