OS:
Platform:
SDK:
@sentry/react-native (>= 1.7.1)react-native-sentry (<= 0.43.2)react-native version: 0.63.2 with hermes
Are you using Expo?
Are you using sentry.io or on-premise?
I have following issue:
Look like source maps got uploaded everytime I run react-native run-android event with debug mode. It take alot of time to start to dev my app. If it upload my local source maps, will it affect to our production? And I don't want to use sentry for local dev.
Looking around documents but not found any where mention How to disable autoUpload source maps.
Could this be an added feature? Now that Release builds automatically try to upload assets, team members don't even have creds to upload it - thus it fails. I mean Release builds are uncommon locally, but they have to happen for certain things to test.
I thought there would be some simple environment variable or even property file, but the only way I've found out to patch this is overriding our gradle file with something like:
gradle.projectsEvaluated {
def tasksToSkip = project.tasks.matching {
it.name.contains("SentryUpload")
}
tasksToSkip.all { enabled = false }
}
I agree with this, we will investigate adding this in the near future.
Most helpful comment
I agree with this, we will investigate adding this in the near future.