Skip to content

Conversation

@marco-saia-datadog
Copy link
Member

What does this PR do? What is the motivation?

Adds documentation for the upcoming React Native release v2.9.0, describing how the Debug ID can be used for symbolication.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 19, 2025

✅ Documentation Team Review

The documentation team has approved this pull request. Thank you for your contribution!

@github-actions
Copy link
Contributor

github-actions bot commented Jun 19, 2025

@marco-saia-datadog marco-saia-datadog marked this pull request as ready for review June 19, 2025 14:56
@marco-saia-datadog marco-saia-datadog requested a review from a team as a code owner June 19, 2025 14:56
@marco-saia-datadog marco-saia-datadog force-pushed the marcosaia/react-native-2.9.0 branch from 5c0955a to db03a1c Compare June 19, 2025 15:13
Copy link
Contributor

@janine-c janine-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I made some very minor writing suggestions. I also noticed that for some reason, the staging build didn't include the changes to the reactnative.md file, so I merged master in to try to get the build going again. It didn't seem to do the trick, so I'll keep an eye on it to see if there's something odd happening with the build.

@@ -69,6 +69,26 @@ Run `eas secret:create` to set `DATADOG_SITE` to the host of your Datadog site,

## Get deobfuscated stack traces

### Use Datadog Expo Configuration

Starting from `@datadog/mobile-react-native@2.9.0` and `@datadog/datadog-ci@v3.10.0`, the SDK exports a Datadog Metro Plugin which attaches a unique Debug ID to your application bundle and sourcemap.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Starting from `@datadog/mobile-react-native@2.9.0` and `@datadog/datadog-ci@v3.10.0`, the SDK exports a Datadog Metro Plugin which attaches a unique Debug ID to your application bundle and sourcemap.
Starting from `@datadog/mobile-react-native@2.9.0` and `@datadog/datadog-ci@v3.10.0`, the SDK exports a Datadog Metro Plugin, which attaches a unique Debug ID to your application bundle and sourcemap.

module.exports = config;
```

### Using the `datadog-ci react-native inject-debug-id` command
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Using the `datadog-ci react-native inject-debug-id` command
### Use the `datadog-ci react-native inject-debug-id` command

@@ -68,6 +68,28 @@ To set your project up to send the symbolication files automatically, run `npx d

See the wizard [official documentation][13] for options.

### Use Datadog Metro Configuration

Starting from `@datadog/mobile-react-native@2.9.0` and `@datadog/datadog-ci@v3.10.0`, the SDK exports a Datadog Metro Plugin which attaches a unique Debug ID to your application bundle and sourcemap.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Starting from `@datadog/mobile-react-native@2.9.0` and `@datadog/datadog-ci@v3.10.0`, the SDK exports a Datadog Metro Plugin which attaches a unique Debug ID to your application bundle and sourcemap.
Starting from `@datadog/mobile-react-native@2.9.0` and `@datadog/datadog-ci@v3.10.0`, the SDK exports a Datadog Metro Plugin, which attaches a unique Debug ID to your application bundle and sourcemap.

module.exports = withDatadogMetroConfig(config);
```

### Using the `datadog-ci react-native inject-debug-id` command
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Using the `datadog-ci react-native inject-debug-id` command
### Use the `datadog-ci react-native inject-debug-id` command

@janine-c
Copy link
Contributor

Ah, I see what's going on. The file real_user_monitoring/error_tracking/mobile/reactnative.md redirects to real_user_monitoring/mobile_and_tv_monitoring/react_native/error_tracking.md, hence the URL that doesn't match the file path. I'll add your content into the version of the file that actually shows there, and then we should be good to go 🙂

@marco-saia-datadog marco-saia-datadog force-pushed the marcosaia/react-native-2.9.0 branch from 3fd3f01 to 271c28b Compare June 20, 2025 08:15
@marco-saia-datadog
Copy link
Member Author

@janine-c Thank you for your review! I have pushed the changes you've suggested :)

@marco-saia-datadog marco-saia-datadog merged commit 9599f9e into master Jun 20, 2025
16 checks passed
@marco-saia-datadog marco-saia-datadog deleted the marcosaia/react-native-2.9.0 branch June 20, 2025 11:41
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.

3 participants