react-native-leaflet
react-native-leaflet copied to clipboard
Unexpected token(1:0)
./node_modules/react-native-leaflet-view/lib/module/LeafletView/index.js:22:7 Module not found: Can't resolve '../../android/src/main/assets/leaflet.html' 20 | 21 | const LEAFLET_HTML_SOURCE = Platform.select({
22 | ios: require('../../android/src/main/assets/leaflet.html'), | ^ 23 | android: { uri: 'file:///android_asset/leaflet.html' }, 24 | });
@pavel-corsaghin
@miallo help me~~~
I am sorry for the late response... Is this still a problem for you? Can you verify, if ./node_modules/react-native-leaflet-view/lib/android/src/main/assets/leaflet.html
exists? Did you run npm run ios
after installation?