You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide a way to set SENTRY_DISABLE_AUTO_UPLOAD without access to the env (Expo managed projects) #3552
I can't see an easy way to set the SENTRY_DISABLE_AUTO_UPLOAD environment variable in .xcode.env.local so that building my app in xcode locally completes without popping up an warning about failure to upload:
and clicking "Show details" reveals:
As an Expo managed workflow user I am not in control of .xcode.env.local, it gets generated by expo prebuild. I can write a custom Expo plugin to modify that file but it seems like a lot of effort. Ideally I'd like to see this supported:
withSentry({
// .. my expo config
}, {
organization: "my-organization",
project: "my-project",
uploadSourcemaps: false, // for example
});
Steps to reproduce:
Create Expo app with managed workflow
Install @sentry/react-native per the docs
expo prebuild
Open xcode and attempt to build the app
Actual result:
As described above.
Expected result:
No errors about uploads when I'm building locally.
Activity
krystofwoldrich commentedon Jan 30, 2024
Hi @leemhenson,
thank you we agree, this is a valuable option to be included in the
@sentry/react-native/expoplugin options.AdamTyler commentedon Mar 22, 2024
Also running an expo app and would like to have this option to disable the upload for local development builds
Including
SENTRY_DISABLE_AUTO_UPLOADin the .env files doesn't seem to have an effect on prebuildkrystofwoldrich commentedon Mar 25, 2024
@AdamTyler Thank you for the message, currently only
.xcode.envfiles are loaded in the build phases.9 remaining items
feat(core): Add `disableAutoUpload` option to Expo plugin (getsentry#…
github-actions commentedon May 28, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #6195, which was included in the 8.13.0 release.
docs(react-native): Document `disableAutoUpload` Expo plugin option (#…