Fixed onMapReady no longer getting called on iOS#1853
Fixed onMapReady no longer getting called on iOS#1853christopherdro merged 1 commit intoreact-native-maps:masterfrom
Conversation
|
LGTM |
|
I'm using the latest version and Thanks! |
|
Same here, running 0.19.0 with Google Maps on iOS and it only fires on the first map load. InitialRegion is working now party but doesn't seem to respect the delta and is very zoomed out. @vendramini are you seeing that as well? |
|
@vendramini are you using GoogleMaps iOS? No, this PR not released yet. Please try @emilefleming Could you please open an issue for that? As this PR does not touch GoogleMaps |
|
@alvelig sure thing. |
|
@alvelig no, I'm using apple maps. EDIT Thanks. |
|
@vendramini Sure, with npm you just get the same but through npm and released under some tag (version). Of course, it's better to keep npm version in package.json, because it gives you version control (exact version, not higher than, etc). |
|
@IjzerenHein @alvelig this doesn't seem to work in the latest release? I still experience the following; I removed cache, rebuilt etc.
|
|
Seems this hasn't been released yet to npm, you should use the master branch from github until that is done |
|
@christopherdro do we need to push a new version to npm ? thnx cc: @alvelig |
Hi, this fixes onMapReady no longer getting called correctly in v0.18.x.
Due to this commit (https://github.com/airbnb/react-native-maps/pull/1797/files#diff-8a72baa08460d22c71989ddcbf76d49f),
onMapReadywas only called when the very first MapView was rendered for the very first time. After unmounting/mounting, or rendering any other MapView, onMapReady would be never called.