Releases: SelfLender/react-native-biometrics
Releases · SelfLender/react-native-biometrics
3.0.0
2.2.0
- 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
tosimplePrompt
. 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, toisSensorAvailable
,createSignature
andsimplePrompt
. 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)
- Added
- Updated
build.gradle
file to avoid unnecessary downloads and potential conflicts when the library is included as a module dependency in an application project.
- Upgraded androidx.biometric 1.1.0
2.1.4
Changed
- Removed duplicate onAuthenticationError call in android
- Upgraded androidx.biomtric to the latest fix version
1.7.1
Changed
- Prevented ios prompt from displaying when checking for key existence
2.1.3
Changed
- Fixed readme typo
- Improved android prompt cancellation handling
2.1.2
Changed
- Improved biometryType typescript definition
2.1.1
Changed
- Fixed npm release error
2.1.0
Changed
- Refactored the javascript portion of the library into typescript
2.0.0
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 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
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
Changed
- Removed dependency on android app compat library for compatibility with androidx
- Used new access control policy for ios keystore