Skip to content

@clerk/expo@4.10.0

Choose a tag to compare

@clerk-cookie clerk-cookie released this 08 Oct 18:01
· 102 commits to main since this release
Immutable release. Only release title and notes can be modified.
b08dd03

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();