Skip to content
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

iOS Sourcemaps are not uploaded using react native 0.75.[1-3] #4120

Closed
5 of 11 tasks
skogby opened this issue Sep 26, 2024 · 4 comments
Closed
5 of 11 tasks

iOS Sourcemaps are not uploaded using react native 0.75.[1-3] #4120

skogby opened this issue Sep 26, 2024 · 4 comments

Comments

@skogby
Copy link

skogby commented Sep 26, 2024

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 0.38.6

react-native version: "0.75.3

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:

#4074

Configuration:

(@sentry/react-native)

Sentry.init({
  dsn: 'https://***.ingest.sentry.io/***',
  environment: config.ENV_NAME,
  release: config.VERSION,
  dist: config.TIMESTAMP,
  enableTracing: true,
  tracesSampleRate: 0.005,
  debug: false,
  integrations: (integrations) => {
    integrations.push(
      Sentry.reactNativeTracingIntegration({
        routingInstrumentation,
      }),
    );
    return integrations;
  },
});

I have the following issue:

Sourcemaps are not found and uploaded by sentry script for iOS using React-native 0.75.1 -> 0.75.3.
There is more info in this issue, but it seems like Sentry maintainers are not looking into closed issues:
#4074

Steps to reproduce:

  • Install react native 0.75.3
  • Install sentry with wizzard

Actual result:

output: sentry-cli - No packager source map found in source map report, skipping copy of debug id to Hermes combined source map.

Expected result:

output: sentry-cli - Using Hermes bundle and combined source map.
output: sentry-cli - Processing react-native sourcemaps for Sentry upload.
output: sentry-cli - > Analyzing 2 sources
output: sentry-cli - > Rewriting sources
output: sentry-cli - > Adding source map references
output: sentry-cli - > Bundled 2 files for upload
output: sentry-cli - > Bundle ID: XYZ
output: sentry-cli - > Uploaded files to Sentry
output: sentry-cli - > File upload complete (processing pending on server)
output: sentry-cli - > Organization: ***
output: sentry-cli - > Project: mobile-app
output: sentry-cli - > Release: com.x.y.z@8.24.0+1726677224
output: sentry-cli - > Dist: 1726677224
output: sentry-cli - > Upload type: artifact bundle
@kahest
Copy link
Member

kahest commented Sep 26, 2024

@skogby thanks for reporting and the details, we're gonna investigate and follow up here.

Apologies for the other issue not receiving attention - the engineer working on that (who would've been notified even though it's closed) is currently OOO and will be back on Monday.

@kahest kahest moved this from Needs Discussion to Needs Investigation in Mobile & Cross Platform SDK Sep 26, 2024
@krystofwoldrich
Copy link
Member

Thank you @skogby for the message and also for the new issue as that notifies other Sentry devs. The comments on closed issues only notify people originally involved.

Regardless, I'm back from my time off and I'm looking into this.

@krystofwoldrich
Copy link
Member

I've reproduce the issue.

@krystofwoldrich
Copy link
Member

I've reopened the original issue (#4074) as there is more context user. I'll close this one as duplicate.

@krystofwoldrich krystofwoldrich closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
@github-project-automation github-project-automation bot moved this from Needs Investigation to Done in Mobile & Cross Platform SDK Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

No branches or pull requests

3 participants