Crash when using Sentry, DataDog & CodePush together
See original GitHub issueI 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:
- Created a year ago
- Comments:6 (5 by maintainers)
Top GitHub Comments
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.
@marandaneto Thanks! I will update the SDK and give it a try again.