Skip to content

refactor(expo-native-components): remove unused biometric credential bridge - #9962

Draft
mikepitre wants to merge 1 commit into
mike/expo-biometrics-js-hooksfrom
mike/expo-native-remove-biometric-bridge
Draft

mikepitre wants to merge 1 commit into
mike/expo-biometrics-js-hooksfrom
mike/expo-native-remove-biometric-bridge

Conversation

@mikepitre

@mikepitre mikepitre commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Stacked on #9960, which moves useBiometricCredentials availability, list, enroll, revoke, and sign-in to JS and @clerk/expo-biometrics. After that change, @clerk/expo only calls reverifyWithBiometrics on the ClerkExpo native module.

This removes the native trusted-device functions nothing calls anymore from @clerk/expo-native-components, on both platforms:

  • getTrustedDeviceAvailability, listTrustedDevices, enrollTrustedDevice, revokeTrustedDevice, signInWithTrustedDevice
  • Their bridge methods and payload/policy/availability mappers, plus the unit tests for those mappers

reverifyWithBiometrics stays on the native SDK, with its configuration guard, level parsing, factor continuation, payload, and error mapping, until clerk-js supports FAPI's trusted-device reverification gate for API version 2026-08-20.

@clerk/expo-native-components is unreleased and these functions were never part of its TypeScript spec, so the changeset is empty.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

🤖 Generated with Claude Code

@changeset-bot

changeset-bot Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 47477b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Sep 28, 2026 8:27pm UTC
swingset Ready Ready Preview Sep 28, 2026 8:27pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Comment @coderabbitai help to get the list of available commands.

@mikepitre
mikepitre force-pushed the mike/expo-biometrics-js-hooks branch from 2b03817 to b90dc86 Compare September 28, 2026 15:03
@mikepitre
mikepitre force-pushed the mike/expo-native-remove-biometric-bridge branch from 2c905df to 4aaf513 Compare September 28, 2026 15:03
@mikepitre
mikepitre force-pushed the mike/expo-native-remove-biometric-bridge branch from 4aaf513 to 55cc74b Compare September 28, 2026 19:06
@mikepitre
mikepitre force-pushed the mike/expo-biometrics-js-hooks branch from b90dc86 to a5deef3 Compare September 28, 2026 19:06
@mikepitre
mikepitre force-pushed the mike/expo-biometrics-js-hooks branch from a5deef3 to f6afce5 Compare September 28, 2026 19:35
@mikepitre
mikepitre force-pushed the mike/expo-native-remove-biometric-bridge branch from 55cc74b to 09407ee Compare September 28, 2026 19:35
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mikepitre
mikepitre force-pushed the mike/expo-biometrics-js-hooks branch from f6afce5 to 997b6d9 Compare September 28, 2026 20:23
@mikepitre
mikepitre force-pushed the mike/expo-native-remove-biometric-bridge branch from 09407ee to 47477b0 Compare September 28, 2026 20:23
@mikepitre mikepitre changed the title refactor(expo-native): remove unused biometric credential bridge refactor(expo-native-components): remove unused biometric credential bridge Sep 28, 2026

This branch was successfully deployed

2 active deployments
Preview – swingset — 47477b05 Deployed Sep 28, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 47477b05 Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant