alinz / react-native-webview-bridge

React Native Webview with Javascript Bridge
MIT License
1.37k stars 492 forks source link

undefined is not an object #108

Open BenedictePancheri opened 8 years ago

BenedictePancheri commented 8 years ago

Hello,

I'm started a project with react-native. But I have a probleme with RTCWebView BridgeManager.NavigationType. He write that "undefined is not an object (evaluating'RCTWebViewBridgeManager.Navigation.Type

I uprgrape the webview-bridge. But I have already same message.

I'm in version react native 0.26.3

ChinaGoodProgrammer commented 8 years ago

me too!How about you now?

ChinaGoodProgrammer commented 8 years ago

@shackachaska

fungilation commented 8 years ago

I hit the same error, thinking it's something with RN 0.29.1. Then I realized (again) it's missing rnpm link after upgrade, even when it was a minor upgrade from RN 0.29.0 to 0.29.1.

Consider this issue closed. For RN 0.25 and later, you also have to run this with npm i https://github.com/alinz/react-native-webview-bridge to have the latest fixes not published on npm package.

kalpeshbewakoof commented 7 years ago

I am facing the same issue. I am on RN 0.35.0

reimertz commented 7 years ago

you need to link the library.

react-native link
vkokku-com commented 7 years ago

I too faced the same issue.But after adding the library file 'libReact-Native-WebView-Bridge.a' to 'Linked Frameworks and Libraries', resolved the issue

JF-13 commented 6 years ago

Hey guys! what should my rnpm look like and after that what should the "react-native link ... " look like? ive already followed installation documentation and updated with npm link that you suggested but im still getting "undefined is not an object (evaluating 'propTypes.func') at index.ios.js:105:31"

both ios and android state same error (except for index. file) so im guessing its not linked

I guess it was just due to react native update

https://github.com/alinz/react-native-webview-bridge/issues/95 from @thejacobseely