-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[React Native] Added docs for v2.9.0 #30025
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
Conversation
✅ Documentation Team ReviewThe documentation team has approved this pull request. Thank you for your contribution! |
Preview links (active after the
|
5c0955a to
db03a1c
Compare
janine-c
left a comment
There was a problem hiding this 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. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ### 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. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ### Using the `datadog-ci react-native inject-debug-id` command | |
| ### Use the `datadog-ci react-native inject-debug-id` command |
|
Ah, I see what's going on. The file |
3fd3f01 to
271c28b
Compare
|
@janine-c Thank you for your review! I have pushed the changes you've suggested :) |
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.