Replies: 1 comment 4 replies
-
Hi, You can read more about it here: https://docs.sentry.io/platforms/react-native/troubleshooting/#failing-build-due-to-sentry-cli |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently utilizing the Expo development build for my project. Whenever I make changes to native modules, I initiate the app build process using the command npx expo run:ios. However, I have encountered an issue with this approach - the command triggers the uploading of sourcemaps, which can be somewhat inconvenient.
In this context, I find it necessary to provide the SENTRY_AUTH_TOKEN environment variable while executing the build command. Yet, it seems redundant to upload the sourcemap for an app that is solely being tested locally. Is there a way to configure sentry-react-native to function only under specific conditions, such as the production or staging environment?
Beta Was this translation helpful? Give feedback.
All reactions