Skip to content

2.0.0

Compare
Choose a tag to compare
@NappyPirate NappyPirate released this 19 Nov 22:26
· 59 commits to master since this release
570dedf

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