Sentry-react-native: How can I disable the automatic javascript sourcemap uploading?

Created on 23 Jul 2018  路  3Comments  路  Source: getsentry/sentry-react-native

OS:

  • [ ] Windows
  • [x] MacOS
  • [ ] Linux

_Platform:_

  • [x] iOS
  • [x] Android

Output of node -v && npm -v && npm ls --prod --depth=0

v8.6.0
5.6.0

I have following issue:

I want to be able to disable the automatic javascript sourcemap uploading that happens when running: ./gradlew assembleRelease.

Expected result:

react-native-sentry won't automatically upload the js sourcemaps


Is there a property I can add to sentry.properties which will disable the automatic javascript sourcemap uploading?

Most helpful comment

Remove this line from your gradle file:
apply from: "../../node_modules/react-native-sentry/sentry.gradle"
see: https://docs.sentry.io/clients/react-native/manual-setup/#android

All 3 comments

Remove this line from your gradle file:
apply from: "../../node_modules/react-native-sentry/sentry.gradle"
see: https://docs.sentry.io/clients/react-native/manual-setup/#android

@HazAT I am facing an issue where I am not able to get absolute path and getting minified path of js file. Where as I need absolute path to it. Can you please help me for the same

Hi, @HazAT how could we do it for ios?

Was this page helpful?
0 / 5 - 0 ratings