Skip to main content

version v3.0.2

· One min read

Overview

Fixes and clarifications for checking a device's status in relation to biometrics authentication.

Added

UXComponents.psa.isEnrolled method returns a boolean with whether the user is currently enrolled or not.

Deprecated

UXComponents.psa.checkDeviceIsEnrolled is now deprecated. In the past it returned false, it now returns the same value as isEnrolled.

Fixes

Fixed a scenario where the device of the user would be unable to enrol if a partial representation of the enrolment data is present in the device.

Notes

For clarity, the behaviour of the different methods to check the state of the SDK are:

  • UXComponents.psa.checkReadyForAuth returns true if the device is ready to perform a biometrics check for the biometric login flow.
  • UXComponents.psa.checkIsReadyForEnrollment returns true if the device's FCM token has been successfully uploaded to Weavr's API.
  • UXComponents.psa.isEnrolled returns true if the device is enrolled. Note that the enrolment check is local. Therefore if the user enrols on another device, the enrolment of this device can no longer be used.