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
Sourcemaps are not correctly uploaded and crashes in issues don't reference JS source code #3779
Comments
Hi @anagovitsyn, have you setup Sentry in your I would also recommend updating to the latest SDK version, https://github.com/getsentry/sentry-react-native/releases/tag/5.22.0. |
Where can I get debug ids for matching source maps when upload using sentry-cli? I see that sourcemaps are linked to the release, but still no references to source code in crashes |
Although the source maps are linked, the might not be the correct source maps for the build. Debug IDs help with that making sure only the appropriate source maps are used. The guide that you linked ensures Debug IDs are generated. https://docs.sentry.io/platforms/react-native/sourcemaps/uploading/hermes/ Could you share how does your |
I used npx @sentry/wizard@latest -i reactNative command to setup sentry. here is package.json |
Hi @anagovitsyn, From the But RN ships with |
Thank you. I have upgraded metro to 0.73.10 and previous error 'size' of undefined had gone and now build is successful on both platforms. But now new error both on ios and android upon startup of the app, though nothing was changed in source code structure, and index.js where call to registerComponent is - is unchanged in comparison with code without sentry and all the updates to the packages.json. Here's updated package.json |
@hubertdeng123 Can you try to isolate the issue, does it happen without |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)SDK version: 5.15.0
react-native
version: 0.71.12Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
(
@sentry/react-native
)I have the following issue:
Steps to reproduce:
Step 1
generate bundle and sourcemap according to documentation https://docs.sentry.io/platforms/react-native/sourcemaps/uploading/hermes/
Step 2
upload sourcemaps to sentry (screenshot of uploading command/process attached)
Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: