pavel-corsaghin / react-native-leaflet

A LeafletView component using WebView and Leaflet map for React Native applications
MIT License
99 stars 42 forks source link

unable to resolve module react-native-webview #43

Open arkabase opened 3 months ago

arkabase commented 3 months ago

Hi,

I just installed the package in a fresh RN app and when I start the project the app can't find the react-native-webview module. I tried to delete node_modules and reinstall the app but same result. I can see the react-native-webview is declared as a dev dependency of react-native-leaflet-view, why is it ? Doesn't the app need it on in final build ?

I install with yarn and start the dev app on my android device with yarn android

SerSerch commented 2 months ago

yes, it's a dependency error. you need to install react-native-webview