Please Bring Back Web Support #4741
Replies: 14 comments 10 replies
-
Duplicate of #4641, but can we at least have a discussion on this insted of just closing the issue? I'd be willing to contribute if I had some instruction on some possible paths forward |
Beta Was this translation helpful? Give feedback.
-
You can use this patch to get it working for now. Might need to be recreated for the latest version, just follow the steps here manually in |
Beta Was this translation helpful? Give feedback.
-
Hi @bnussman 👋 You seem to have some experience using expo web, maybe you are able to track down the change that made it break? :) Once we narrow down what change made it break, we can start working on a PR :) |
Beta Was this translation helpful? Give feedback.
-
Also worth mentioning @teovilla/react-native-web-maps which is aimed to add web support for this library. You just alias 'react-native-maps' in the webpack config. |
Beta Was this translation helpful? Give feedback.
-
Hi, I saw the postinstall script to solve the problem on issue #4641, but I am not sure how to use it. This is the first time I use React Native and Expo, so I am a big newbie. Is it possible to explain in more detail how to use this post-installation script? |
Beta Was this translation helpful? Give feedback.
-
Has anyone figured out a work around? |
Beta Was this translation helpful? Give feedback.
-
Please support MapView in web |
Beta Was this translation helpful? Give feedback.
-
Here is my solution: |
Beta Was this translation helpful? Give feedback.
-
Does anyone has a working solution? Plz |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I managed to solve it! https://gist.github.com/ydrea/27f70d9318981730be93948e2a54cb63 |
Beta Was this translation helpful? Give feedback.
-
Really need web support +1 |
Beta Was this translation helpful? Give feedback.
-
We have a multi platform app with web used by a couple thousand people and web support is really, really important for us. We have been using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Description 🗒️
Before (0.31.1) 🎊
After (1.7.1) 😠
Metro Error

Webapck Error

Reproducible sample code
Steps to reproduce
npx create-expo-app map-issue
cd map-issue
npx expo install react-native-web@~0.18.10 react-dom@18.2.0 @expo/webpack-config@^18.0.1
<MapView />
in the App.jsnpm run web
Expected result
I'd expect my app to still run successfully in the web like it does with
"react-native-maps": "0.31.1"
, even if it renders a placeholder instead of an actual map.I'd expect the functionality of the latest
react-native-maps
to have equal or better web compatibility than"react-native-maps": "0.31.1"
, but it doesn't even support web at all anymoreActual result
Refer to errors in the summary section. The app errors when using expo's web feature with both Expo's webpack and metro web bundlers.
For context, You can opt-in to metro for web by specifying
bundler: "metro"
in your expo config.React Native Maps Version
Web support broken in both 1.7.1 and 2.0.0-beta.11. Last known working is 0.31.1
What platforms are you seeing the problem on?
Web
React Native Version
0.71.3
What version of Expo are you using?
SDK 48
Device(s)
The browser 😐
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions