Skip to content

Commit 314f73d

Browse files
Add postPublish hooks removal to sentry-expo migration guide
1 parent 7b51a8f commit 314f73d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/platforms/react-native/migration/sentry-expo.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ yarn remove sentry-expo
2222
pnpm remove sentry-expo
2323
```
2424

25-
### Install `@sentry/react-native`
25+
### Remove `sentry-expo/upload-sourcemaps` from `postPublish` hooks
26+
27+
Remove the Sentry Source Maps Upload hook from your Expo Application configuration, `expo.hooks.postPublish`. The new methods of uploading source maps are described in the [new Expo guide](/platforms/react-native/manual-setup/expo/), the last step of this migration at the bottom of this page.
28+
29+
## Install `@sentry/react-native`
2630

2731
Install the `@sentry/react-native` package:
2832

0 commit comments

Comments
 (0)