Skip to content

Request to have a specific flag to disable upload debug symbol build phase #4056

@Lucienzera

Description

@Lucienzera

Specs

SDK Version: @sentry/react-native: 5.28.0
RN Version: 0.74.5
expo: 51.0.26

OS:

  • Windows
  • MacOs
  • Linux

Platform:

  • iOS
  • Android

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

Context

Our expo managed react native application consists of hardening process that is done after an .ipa is generated. We use the expo plugin to connect the application with Sentry. This also adds Upload Debug Symbol for Sentry step into the build phases.

The hardening process will make some changes to the Debug Information Files, so we are required to use upload this new one into Sentry Dashboard instead of the one uploaded during the build phase.


Current workaround

We are required to patch the package and add a Release check under sentry-dexcode-debug-files.sh to disable the build phase step.


Request

To have a specific flag to disable this step entirely, something like SENTRY_DISABLE_DIF_UPLOAD. Instead of using the general SENTRY_DISABLE_AUTO_UPLOAD.

Was the reasoning to coupled both sourcemap and DIF upload to a single flag, under the assumption that if a dev makes some changes towards it they would be changing both js and native bundles?

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions