-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto upload source maps for EAS Update #335
Comments
This would be amazing +1 |
Similar TS script based on @karbone4's comment made specifically for windows and working with expo-router (metro instead of webpack). Used with app.config.ts and includes--org and --project flags from extra prop
Run with: |
+1 |
This is no longer working properly when using hermes (which is becoming a standard). |
If it can help someone, here is a config and a script that work for me:
|
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
+1 |
+1 after migrating to eas update and sdk49 (bare) we've lost our stacktraces in sentry. having some reliable resources to simplify this would be incredibly appreciated! EDIT: this script saved us -- https://gist.github.com/nandorojo/8371475fe9912cb6b8d4f326664f1fc6 |
@wen-kai This script did not work for us, the upload succeeds, but still scrambled source maps, we're using Expo v49. Is this script still functional for you guys? |
Doesn't work for me either! I'd love an auto-upload script as well. It's sorely lacking |
FI I had to change Android bundle file name to "index.android.bundle" to fix my script above (I've edited the script's comment). |
Hello everyone, You can upload source maps for EAS Update as easily as Update to https://github.com/getsentry/sentry-react-native/releases/tag/5.16.0 or newer to get all the new features. Migration guides available:
More config here: SENTRY_PROJECT=project-slug \
SENTRY_ORG=org-slug \
SENTRY_AUTH_TOKEN=super-secret-token \
npx sentry-expo-upload-sourcemaps dist |
At the moment
sentry-expo
uploads source maps to Sentry only during native app builds.sentry-expo
could ship with a script similar to the user solutions or if possible hook at the end ofeas update
.User-created solutions:
The text was updated successfully, but these errors were encountered: