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
To upload source maps, the Sentry Expo Plugin and the Sentry Metro Plugin need to be added to the Expo application.
4
+
5
+
### Add the Sentry Expo Plugin
6
+
7
+
To ensure bundles and source maps are automatically uploaded during the local and EAS native applications builds, add the `@sentry/react-native/expo` config plugin to the Expo application configuration:
To ensure the bundles and source maps are automatically uploaded during the native applications builds, add `withSentry` to the Expo application configuration:
63
-
64
-
```javascript {tabTitle:app.json/app.config.json}
65
-
{
66
-
"expo": {
67
-
"plugins": [
68
-
[
69
-
"@sentry/react-native/expo",
70
-
{
71
-
"url":"https://sentry.io/",
72
-
"warning":"DO NOT COMMIT YOUR AUTH TOKEN",
73
-
"authToken":"___ORG_AUTH_TOKEN___",
74
-
"project":"___PROJECT_SLUG___",
75
-
"organization":"___ORG_SLUG___"
76
-
}
77
-
]
78
-
]
79
-
}
80
-
}
81
-
```
62
+
Wrap the root component of your application with `Sentry.wrap`:
To ensure bundles and source maps are automatically uploaded during the native applications builds, add `withSentry` to the Expo application configuration:
0 commit comments