Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Missing NativeModule. Please make sure you run react-native link react-native-auth0 #17

Closed
mmchougule opened this issue Nov 5, 2017 · 2 comments

Comments

@mmchougule
Copy link

I followed steps from the "Login Quickstart" page. I can see that my Auth0 client is initialized. But when I try to do
Auth0.webAuth ( ...

I am getting the following error:

Error: Missing NativeModule. Please make sure you run react-native link react-native-auth0
at Agent.newTransaction (agent.js:33)
at WebAuth.authorize (index.js:51)
at Object.showLogin (auth0.js:56)
at AppView.componentWillReceiveProps (AppView.ios.js:39)
at AppView.proxiedMethod (createPrototypeProxy.js:44)
at callComponentWillReceiveProps (ReactNativeFiber-dev.js:1639)
at updateClassInstance (ReactNativeFiber-dev.js:1663)
at updateClassComponent (ReactNativeFiber-dev.js:1712)
at beginWork (ReactNativeFiber-dev.js:1833)
at performUnitOfWork (ReactNativeFiber-dev.js:2569)

Can anyone please help me?
I have tried doing "react-native link react-native-auth0".
screen shot 2017-11-05 at 5 27 36 pm

@mmchougule
Copy link
Author

I had another old package 'react-native-lock' which is deprecated. I deleted that and updated the correct url in Info.plist for CFBundleURLTypes.
It works now!

@miwillhite
Copy link

miwillhite commented Dec 23, 2018

I ran into this as well and was stuck for a couple hours…it turns out I had to link the libraries manually: https://facebook.github.io/react-native/docs/linking-libraries-ios.html

Following the first two steps got me running!

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

No branches or pull requests

2 participants