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
Copy file name to clipboardExpand all lines: docs/platforms/react-native/sourcemaps/uploading/expo.mdx
+11-1
Original file line number
Diff line number
Diff line change
@@ -37,15 +37,25 @@ eas update
37
37
To upload source maps for all platforms use the following command:
38
38
39
39
```bash
40
+
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
41
+
npx sentry-expo-upload-sourcemaps dist
42
+
```
43
+
44
+
To upload source maps without expo plugin (bare workflow):
45
+
46
+
```bash
47
+
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
40
48
SENTRY_PROJECT=___PROJECT_SLUG___ \
41
49
SENTRY_ORG=___ORG_SLUG___ \
42
-
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
50
+
SENTRY_URL=https://sentry.io/ \
43
51
npx sentry-expo-upload-sourcemaps dist
44
52
```
45
53
54
+
46
55
#### Notes
47
56
48
57
-`dist` is the default output directory of `eas update`.
58
+
- Sentry Org, Sentry Project, and Sentry Url will be loaded from the expo plugin config (app.json / app.config.js) if the environment variable isn't set.
49
59
- Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases.
0 commit comments