-
-
Notifications
You must be signed in to change notification settings - Fork 359
Description
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
SDK:
-
@sentry/react-native(>= 1.0.0) -
react-native-sentry(<= 0.43.2)
SDK version: 5.9.1
react-native version: 0.70.13
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
- sentry.io (SaaS)
- on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
Apologies wrong issue, this is the correct one:
Link to issue
Configuration:
(@sentry/react-native)
Sentry.init({
dsn: sentryDSN,
release: eigenSentryReleaseName(),
dist: DeviceInfo.getBuildNumber(),
enableAutoSessionTracking: true,
autoSessionTracking: true,
enableWatchdogTerminationTracking: false,
...props,
})
I have following issue:
When downloading and running a codepush bundle in our application errors generated are showing up with their stack traces not deobfuscated in sentry.
Steps to reproduce:
- Step 1 - set the codepush release name in the project to be consumed in sentry init
- Step 2 - bundle javascript and sourcemaps - using command
yarn bundle:ios - Step 3 - upload the bundle to codepush
- Step 4 - create a corresponding release and upload sourcemaps to sentry
- Step 5 - download the bundle in beta
- Step 6 - trigger a sentry error
- Step 7 - find the error in sentry and observe the stack trace
Extra context:
- you can see the current codepush bundling + upload process here: https://github.com/artsy/eigen/blob/93f05cb59aec5e8cde141d1ab6184f6d2a2a6c26/fastlane/Fastfile#L585
- I have tried 2 methods: using the bundling + sourcemap creation that happens automatically when running the codepush
appcenter codepush release-reactcommand and uploading those to sentry and using our own bundle and sourcemap creation command and uploading those to sentry, neither seem to work as intended. - When triggering an error from the beta without a codepush bundle the stack trace shows up as expected: https://artsynet.sentry.io/issues/4459370240/?project=5867225
Actual result:
The error shows up in sentry attached to the correct release but with a stack trace referencing app:///main.jsbundle rather than the deobfuscated code.
Expected result:
The error shows up in sentry with a clean stack trace referencing our deobfuscated code:

Metadata
Metadata
Assignees
Labels
Projects
Status