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