megachangelog
Feature4.10.0

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() to useBiometricCredentials(). It revokes this device's biometric credential for the signed-in user, so you no longer need to store the ID from enroll(). It returns the revoked credential, or null if there is nothing to revoke. Call it before signing out, since it needs a session. (#10143) by @wobsoriano

    import { useBiometricCredentials } from '@clerk/expo/biometrics';
    
    const { revokeCurrentDeviceCredential } = useBiometricCredentials();
    
    await revokeCurrentDeviceCredential();
expobiometricsauthcredentials

Source: original entry ↗

More from Clerk

Follow Clerk to get its new changes in your feed and email digest.

Breaking4.11.0

@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.

exponative-componentsbreakingsdk
Breaking0.1.0

@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.

exponative-componentsmigrationiosandroid
Announcement1.40.1

@clerk/ui@1.40.1

Release of @clerk/ui version 1.40.1 with updates and improvements to the UI component library.

uicomponentsrelease
See all Clerk changes →