Skip to content

fix(android): use getReactTag() for react-native >= 0.87 compatibility#4227

Merged
mfazekas merged 1 commit into
mainfrom
fix/android-getreacttag-rn087
Jun 10, 2026
Merged

fix(android): use getReactTag() for react-native >= 0.87 compatibility#4227
mfazekas merged 1 commit into
mainfrom
fix/android-getreacttag-rn087

Conversation

@mfazekas

@mfazekas mfazekas commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Description

Use the explicit getReactTag() accessor instead of the reactTag Kotlin synthetic property in MapShadowNode, which breaks compilation on React Native >= 0.87. Backward compatible with earlier RN versions.

Mirrors the equivalent fix in maplibre-react-native: maplibre/maplibre-react-native#1583

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.

@mfazekas mfazekas merged commit b5abad7 into main Jun 10, 2026
7 checks passed
@mfazekas mfazekas deleted the fix/android-getreacttag-rn087 branch June 10, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant