Skip to main content

iOS Components v3.0.2

· One min read

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 enroll if a partial representation of the enrollment data is present in the device.

Notes

For clarity, the behavior 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 our API.
  • UXComponents.psa.isEnrolled returns true if the device is enrolled. Note that the enrollment check is local. Therefore if the user enrolls on another device, the enrollment of this device can no longer be used.