Mapbox Version
default
React Native Version
0.88.0-rc.3
Platform
iOS
@rnmapbox/maps version
10.3.5, main
Standalone component to reproduce
Existing versions of rnmapbox/maps and the current main branch are not compatible with the upcoming changes in react-native 0.88 due to changes to the react-native LayoutMetrics struct, which adds the fontSizeMultiplier field:
// ReactCommon/react/renderer/core/LayoutMetrics.h (RN 0.88)
Rect frame;
EdgeInsets contentInsets{0};
EdgeInsets borderWidth{0};
DisplayType displayType{DisplayType::Flex};
PositionType positionType{PositionType::Relative};
LayoutDirection layoutDirection{LayoutDirection::Undefined};
bool wasLeftAndRightSwapped{false};
Float pointScaleFactor{1.0};
Float fontSizeMultiplier{1.0}; // <-- new in 0.88
EdgeInsets overflowInset{};
Observed behavior and steps to reproduce
No response
Expected behavior
No response
Notes / preliminary analysis
No response
Additional links and references
https://github.com/react/react-native/blame/changelog/v0.88.0-rc.3/packages/react-native/ReactCommon/react/renderer/core/LayoutMetrics.h#L45C5-L46C35
Mapbox Version
default
React Native Version
0.88.0-rc.3
Platform
iOS
@rnmapbox/mapsversion10.3.5, main
Standalone component to reproduce
Existing versions of rnmapbox/maps and the current main branch are not compatible with the upcoming changes in react-native 0.88 due to changes to the react-native
LayoutMetricsstruct, which adds thefontSizeMultiplierfield:Observed behavior and steps to reproduce
No response
Expected behavior
No response
Notes / preliminary analysis
No response
Additional links and references
https://github.com/react/react-native/blame/changelog/v0.88.0-rc.3/packages/react-native/ReactCommon/react/renderer/core/LayoutMetrics.h#L45C5-L46C35