Skip to content

Commit fa4a4ba

Browse files
authored
Add expo-update example for bare RN apps (#11612)
1 parent 72aa538 commit fa4a4ba

File tree

1 file changed

+11
-1
lines changed
  • docs/platforms/react-native/sourcemaps/uploading

1 file changed

+11
-1
lines changed

docs/platforms/react-native/sourcemaps/uploading/expo.mdx

+11-1
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,25 @@ eas update
3737
To upload source maps for all platforms use the following command:
3838

3939
```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___ \
4048
SENTRY_PROJECT=___PROJECT_SLUG___ \
4149
SENTRY_ORG=___ORG_SLUG___ \
42-
SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \
50+
SENTRY_URL=https://sentry.io/ \
4351
npx sentry-expo-upload-sourcemaps dist
4452
```
4553

54+
4655
#### Notes
4756

4857
- `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.
4959
- Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases.
5060

5161
## Notes

0 commit comments

Comments
 (0)