react-native-webview-leaflet
react-native-webview-leaflet copied to clipboard
React Native Web support
Hello Is it possible to add support for web? Following message is thrown when running on web:
Error: "The method or property expo-file-system.readAsStringAsync is not available on web, are you sure you've linked all the native dependencies properly?"
Same project on android works well. Thank You
I don't know. Do you know if react-native-webview is supported on the web? The map itself is an HTML page inside of a react-native-webview, so react-native-webview support is required in order to use this library
There is a package react-native-web-webview that might be useful
I assume it would probably just be enough to add a JS bundle for the HTML folder to the built package - that way, in my app I could have a Map.web.tsx that just directly renders the MapComponent component directly, without a WebView in-between.