question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash when using Sentry, DataDog & CodePush together

See original GitHub issue

I am creating this issue after being recommended to do so by the devs at DataDog. In our app we use DataDog RUM, Sentry & CodePush.

In the more recent version of DataDog (1.0.0-rc8) these libraries get into conflict, particularly when calling CodePush.restartApp, either programmatically, or by pressing r in metro server causes a crash originating in Sentry SDK.

The error goes away when either DataDog or Sentry is not initialized.

More details and some original conversation is here - https://github.com/DataDog/dd-sdk-reactnative/issues/215

Environment

How do you use Sentry? Sentry SaaS

Which SDK and version? @sentry/react-native: 3.2.13

Steps to Reproduce

In an app with Sentry, DataDog and CodePush, calling CodePush.restartApp or using r in the metro server to restart the app causes it to crash.

Expected Result

No crash occurs

Actual Result

Native crash report - 46a9ca6e40f643f5881f5becb87c6b75-symbolicated.crash.txt

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
brustolincommented, Jun 13, 2022

We had this integration problem on a older SDK version, but is being fixed for a while now.

@tux4 maybe all you need to do is update your Sentry SDK version.

0reactions
tux4commented, Jun 13, 2022

@marandaneto Thanks! I will update the SDK and give it a try again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Collaborative Bug Fixing With Datadog's Sentry Integration
Collaborative Bug Fixing with Datadog's Sentry Integration · Search and comment on errors and bug fixes · Correlate errors with metrics and data ......
Read more >
Collaborative Bug Fixing with Sentry's Datadog Integration
With Sentry's Datadog integration, you can capture all your events and errors directly within your Datadog dashboards. Here's how.
Read more >
Sentry.io VS Moovweb Platform - compare differences & reviews?
Sentry is a cloud-hosted error tracking tool that helps to resolve crashes and other similar issues in your apps. Many software teams use...
Read more >
sitemap.xml - ITNEXT
... -using-nodemon-and-webpack-dev-server-together-a636b271c4e 2018-03-01 ... https://itnext.io/application-observability-in-kubernetes-with-datadog-apm-and ...
Read more >
Datadog source maps - drlilifan – Dr Lili Fan
The DataDog Platform brings together end-to-end traces, metrics, ... Ecs monitoring datadog Datadogrecommends using @ datadog /mobile-react-native-code-push ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found