-
-
Notifications
You must be signed in to change notification settings - Fork 851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: NewArch: Exception in setHandledMapChangedEvents when loading the map in RN 0.74.2 #3522
Comments
Should be fixed by #3527, there might be further similar issues |
See facebook/react-native#45024 As expected there other issues as well. Could be worked around with patch-package, see mfazekas@dbcf2b1 for example |
Looks like the upstream issue may have been fixed in facebook/react-native@8a6b88e, though it doesn't look like that has been included in a release yet |
@roryabraham so it's a bit complicated. So the issue is that in RN 0.73 what was Int32 in typescript Native codespec in was generated as Double. I guess RN 0.76 will go with Int32 -> Long. |
So it looks like codegen is fixed (aka reverted back to java Double) in RN 0.74.3 - see #3570. |
Mapbox Implementation
Mapbox
Mapbox Version
default
React Native Version
0.74.2
Platform
Android
@rnmapbox/maps
version10.1.23
Standalone component to reproduce
Observed behavior and steps to reproduce
We are working in Expensify on upgrading RN version to 0.74.2 and we noticed the crash caused by rnmapbox. When we navigating to screen when we are displaying map we are getting this error
Error: Exception in HostFunction: no non-static method "Lcom/rnmapbox/rnmbx/components/mapview/NativeMapViewModule;.setHandledMapChangedEvents(Ljava/lang/Double;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/Promise;)V"
. More context and logs are here.Expected behavior
No response
Notes / preliminary analysis
No response
Additional links and references
rnmapbox-bug.mov
No response
The text was updated successfully, but these errors were encountered: