Skip to content

clerk-expo now always requires installing expo-local-authentication #3950

Description

@the-simian

Preliminary Checks

Reproduction

N/A

Publishable key

N/A

Description

Documention requires updating:

When using clerk-expo, you must now install expo-local-authentication or it will break on Android, even if you're not using expo-local-authentication

AndroidBundlingfailed23781msnode_modules/expo-router/entry.js(7369modules)Unabletoresolve"expo-local-authentication"from"node_modules/@clerk/clerk-expo/dist/hooks/useLocalCredentials/useLocalCredentials.js"

This breaking change was introduced in eb7cfae
on PR: #3663

Link to the related docs page
https://clerk-docs-git-prettier-fixes.clerkpreview.com/quickstarts/expo

Installing expo-local-authentication fixes the issue. This was a breaking change introduced in #3663

Environment

System:
OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13900K
Memory: 54.17 GB / 62.68 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 22.4.0 - ~/.nvm/versions/node/v22.4.0/bin/node
npm: 10.8.1 - ~/.nvm/versions/node/v22.4.0/bin/npm
pnpm: 8.15.1 - ~/.local/share/pnpm/pnpm
bun: 1.1.18 - ~/.bun/bin/bun

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexpo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions