Add revokeCurrentDeviceCredential() to useBiometricCredentials()
A new revokeCurrentDeviceCredential() method has been added to useBiometricCredentials() for Expo, allowing you to revoke the device's biometric credential without storing the credential ID from enroll(). Call it before signing out since it requires an active session.
Minor Changes
-
Add
revokeCurrentDeviceCredential()touseBiometricCredentials(). It revokes this device's biometric credential for the signed-in user, so you no longer need to store the ID fromenroll(). It returns the revoked credential, ornullif there is nothing to revoke. Call it before signing out, since it needs a session. (#10143) by @wobsorianoimport { useBiometricCredentials } from '@clerk/expo/biometrics'; const { revokeCurrentDeviceCredential } = useBiometricCredentials(); await revokeCurrentDeviceCredential();
Source: original entry ↗
More from Clerk
Follow Clerk to get its new changes in your feed and email digest.
@clerk/expo-native-components package introduced
A new @clerk/expo-native-components package is now required for native components (AuthView, UserButton, UserProfileView). Install it before deploying over-the-air updates as errors occur at runtime; import native components from @clerk/expo/native-components and deprecate the old @clerk/expo/native import path.
@clerk/expo-native-components 0.1.0
Introduces @clerk/expo-native-components, a new required package for native components (AuthView, UserButton, UserProfileView). Import native components from @clerk/expo/native-components instead of the deprecated @clerk/expo/native, and install the new package before shipping over-the-air updates to avoid runtime errors.
@clerk/ui@1.40.1
Release of @clerk/ui version 1.40.1 with updates and improvements to the UI component library.