[RUM-18012] feat: support RN 0.87 - #1368
Merged
marco-saia-datadog merged 5 commits intoAug 13, 2026
Merged
Conversation
4 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the React Native SDK integrations to resolve build breaks introduced by React Native 0.87, covering iOS (Fabric/new architecture) and Android (new architecture Kotlin + internal test tooling).
Changes:
- iOS: Gate
RCTParagraphComponentView/RCTConversionsimports on RN 0.87+ to use the new<React/...>header paths. - Android (internal-testing-tools): Pin
dd-sdk-android-coreto3.12.1to ensure dependency resolution succeeds. - Android (new arch): Use
reactContext.currentActivityin the lifecycle listener to match the old-arch implementation and avoid relying on a potentially missingcurrentActivityaccessor.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/react-native-session-replay/ios/Sources/RCTFabricWrapper.mm | Adds RN-0.87-aware imports for Fabric paragraph view/conversions headers. |
| packages/internal-testing-tools/android/build.gradle | Pins dd-sdk-android-core dependency to an explicit version (3.12.1). |
| packages/core/android/src/newarch/kotlin/com/datadog/reactnative/DdSdk.kt | Fixes lifecycle resume logic to read activity via reactContext.currentActivity. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
sbarrio
reviewed
Aug 13, 2026
| implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | ||
| implementation project(path: ':datadog_mobile-react-native') | ||
| implementation "com.datadoghq:dd-sdk-android-core" | ||
| implementation "com.datadoghq:dd-sdk-android-core:3.12.1" |
Collaborator
There was a problem hiding this comment.
We may need to add this file to the bump-native-dd-sdk script:
dd-sdk-reactnative/bump-native-dd-sdk.sh
Lines 13 to 17 in a9111a7
sbarrio
approved these changes
Aug 13, 2026
cdn34dd
approved these changes
Aug 13, 2026
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes build errors introduced with RN 0.87