alinz / react-native-webview-bridge

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

Issues with importing with React Native 0.41 #213

Open pavsidhu opened 7 years ago

pavsidhu commented 7 years ago

While I know this library is no longer maintained, I'm using a library which uses this library as a dependancy.

To update the package to work with RN 0.41, I had to update the imports like this: "RCTBridge.h" to <React/RCTBridge.h>

I did this for all the imports with RCT are a prefix in all the .m files and the iOS app compiles successfully. The issue is when I import the library I get an error. After looking through this repo's code, I can see that React Native basically isn't importing WebViewBridgeManager properly from index.ios.js. What can I do to fix this? Thanks.

HofmannZ commented 7 years ago

See #206