Skip to content

React Native @clerk/clerk-expo is not working as expected #3339

Description

@SherifMoShalaby

Preliminary Checks

Reproduction

https://github.com/Galaxies-dev/whatsapp-clone-react-native

Publishable key

pk_test_cG93ZXJmdWwtcGVnYXN1cy0yNi5jbGVyay5hY2NvdW50cy5kZXYk

Description

Steps to reproduce:

  1. Clone the provided Repo
  2. add .env file & add EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY={the one provided in the issue from the "Publishable key"}
  3. npm install
  4. npx expo run:ios

Expected behavior:

The application to work as before adding the ``````

Actual behavior:

After adding

<ClerkProvider publishableKey={process.env.clerkPublishableKey}>

The application is now giving me: "cannot find native module ExpoApplication"

328293412-75b15489-c4e0-4369-9a6e-2d2ffc55ce2d

Environment

System:
    OS: macOS 14.4.1
    CPU: (12) arm64 Apple M2 Max
    Memory: 5.13 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.20.2 - ~/.nvm/versions/node/v18.20.2/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v18.20.2/bin/npm
    Watchman: 2024.04.22.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 124.0.6367.119
    Safari: 17.4.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions