peterferguson/react-native-passkeys

Error: Cannot find native module 'ReactNativePasskeys'

panteliselef opened this issue · 5 comments

Hey I'm facing this error Error: Cannot find native module 'ReactNativePasskeys', js engine: hermes

I've installed the package with

npx expo install react-native-passkeys

I've run

npx pod-install

This is the output of the above command. As you see similar packages like(react-native-passkey) are "Auto-linked"
image

simulator_screenshot_F1875535-B30C-4D77-A9DC-F782B77A5B77

@panteliselef were you able to fix this?
if yes, could you please share what you did
thanks.

Anyone facing the same issue, add "deploymentTarget": "15.0" this to your app.json like so:

{
  "expo": {
    "plugins": [
      [
        "expo-build-properties",
        {
          "ios": {
            "deploymentTarget": "15.0"
          }
        }
      ]
    ]
  }
}

@first-dev unfortunately i didn't get it to work

Hey @panteliselef I cannot replicate the failing to autolink, maybe there is some issue with having both react-native-passkey & this library installed what with the similar names.

Were you able to replicate in a MRE?

I had the same issue, solution from @first-dev fixed it, thanks. You need a minimal deploymentTarget of 15.0 to use this library.