Skip to content

Commit

Permalink
Merge pull request #54 from SelfLender/android-biometric-prompt
Browse files Browse the repository at this point in the history
react native biometrics 2.0
  • Loading branch information
NappyPirate authored Nov 19, 2019
2 parents 6989b34 + ddb99c1 commit 570dedf
Show file tree
Hide file tree
Showing 30 changed files with 678 additions and 3,933 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Changelog
All notable changes to this project will be documented in this file.

## [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
Expand Down Expand Up @@ -97,3 +110,4 @@ All notable changes to this project will be documented in this file.
[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
Loading

0 comments on commit 570dedf

Please sign in to comment.