Open YMirzaa opened 2 months ago
+1 I have the same issue with the latest version of expo and the new architecture.
Is there a workaround without disabling the new architecture?
Thanks :)
+1 I have the same issue with the latest version of expo and the new architecture.
Is there a workaround without disabling the new architecture?
Thanks :)
I had to disable new arch. But if there are I would love to know
@salah-ghanim Any news on this? The new react native architecture is about to become the default and the new Expo sdk 52 is in beta for like 1 more week or so, this will become an issue for many.
Today I updated to Expo 52 and enabled new arch. Markers, satellite mode and user location marker stopped working.
@salah-ghanim Anything? Sorry for the pinging, it's just that this impacts many people, especially with the new architecture. React-native-maps is preventing us from using the new react native architecture.
+1
+1 not working on android or web
+1
+1
+1
same issue. the map is not working properly with the new arch enabled
+1. NewArch installed and "newArchEnabled": true but Marker is not showing. Anyone solved this?
So its just not me who's facing the same issue from past few days
+1
+1
Summary
When new architecture enabled with
[ "expo-build-properties", { "ios": { "newArchEnabled": true }, "android": { "newArchEnabled": true } } ]
on app.json,onMapReady={() => { console.log('Map ready'); }}
function doesn't fire, or any of the markers inside<MapView/>
don't render. This issue happens when reloading app with ctrl+r, not on the first render. For example, after starting the app with expo commandnpx expo run:android --device
, the map rendered normally and callbacks are fired. But when reloading app markers are not rendered or callbacks fired.Reproducible sample code
Steps to reproduce
[ ] Check if the marker rendered normally and callback is fired after the map is rendered
[ ] Add plugin to app.json
[ "expo-build-properties", { "ios": { "newArchEnabled": true }, "android": { "newArchEnabled": true } } ]]
[ ] Prebuild the native files.
[ ] Run app.
[ ] Fire
onMapReady
function or check markersExpected result
After reloading the app with new architecture, sometimes map normally renders but most of the time it doesn't render any markers or fire callback
onMapReady
Actual result
React Native Maps Version
1.14.0
What platforms are you seeing the problem on?
Android
React Native Version
72.2
What version of Expo are you using?
SDK 51
Device(s)
Samsung Galaxy M51