-
Notifications
You must be signed in to change notification settings - Fork 493
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
Unhandled JS Exception: undefined is not an object (evaluating 'PropTypes.func') #95
Comments
use files from git , not from npm |
use |
Related to #92 |
I have same problem. |
Works fine with RN 0.44.2 But I'm having the problem with RN 0.49.3 |
Thanks, works with RN 0.44.2. |
After doing some research, I discovered that "PropTypes" has been migrated to its own package. I solved the issue by changing the following in index.ios.js: After that, I got an error with React.createClass (also caused by another change in React, and resolved by adding the new package), which I solved by adding the following to index.ios.js: and then changing: Hope that helps! PS The fact that it works with older versions is probably because they have not upgraded React. When you upgrade ReactNative you will probably have to make the same changes. It appears that this error will go away after this pull request is approved: |
@thejacobseely Thanks for your comment, that def got me further. Though now I run into "RCTWebViewBridge" does not exist I noticed that the latest branch (V2) hasn't been touched for 11 months and has diverged a lot from master. Did you end up getting it to work? |
@thejacobseely @Timoteus78 I have the same issue. It just can't resolve RCTWebViewBridge The error message is:
And linking it with npm link as @JF-13 suggested it didn't help at all. The error persits. @Timoteus78 have you found a solution to this already? If so please tell me, I really need this WebViewBridge. And yeah that's an interesting question wheter @thejacobseely got it working?? |
@thejacobseely i follow your instrucctions and still have undefined is not an object (evaluating 'PropTypes.func') :( |
@thejacobseely I encountered same problems and I followed your steps but after replacing |
@ShridharCodewave Did you add it? |
@prospegto Yes I did and the issue is solved now :) |
Hello,
We are making a react native project with you're awesome webview bridge.
We just upgrade to react native 0.26.1 and react 15.0.2 this morning and we have now this PropTypes issue.
Is it possible that certain pieces of your code are depreciated?
The text was updated successfully, but these errors were encountered: