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: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@
9
9
- Add network data to Session Replays ([#3912](https://github.com/getsentry/sentry-react-native/pull/3912))
10
10
- Filter Sentry Event Breadcrumbs from Mobile Replays ([#3925](https://github.com/getsentry/sentry-react-native/pull/3925))
11
11
12
+
### Fixes
13
+
14
+
-`sentry-expo-upload-sourcemaps` no longer requires Sentry url when uploading sourcemaps to `sentry.io` ([#3915](https://github.com/getsentry/sentry-react-native/pull/3915))
15
+
12
16
### Dependencies
13
17
14
18
- Bump Cocoa SDK from v8.29.1 to v8.30.0 ([#3914](https://github.com/getsentry/sentry-react-native/pull/3914))
console.log(`${SENTRY_PROJECT} resolved to ${sentryProject} from expo config.`);
150
150
}
151
151
if(!sentryUrl){
152
-
if(!pluginConfig.url){
153
-
console.error(
154
-
`Could not resolve sentry url, set it in the environment variable ${SENTRY_URL} or in the '@sentry/react-native' plugin properties in your expo config.`,
152
+
if(pluginConfig.url){
153
+
sentryUrl=pluginConfig.url;
154
+
console.log(`${SENTRY_URL} resolved to ${sentryUrl} from expo config.`);
155
+
}
156
+
else{
157
+
sentryUrl=`https://sentry.io/`;
158
+
console.log(
159
+
`Since it wasn't specified in the Expo config or environment variable, ${SENTRY_URL} now points to ${sentryUrl}.`
155
160
);
156
-
process.exit(1);
157
161
}
158
-
159
-
sentryUrl=pluginConfig.url;
160
-
console.log(`${SENTRY_URL} resolved to ${sentryUrl} from expo config.`);
161
-
}
162
+
}
162
163
}
163
164
164
165
if(!authToken){
@@ -210,8 +211,7 @@ if (numAssetsUploaded === totalAssets) {
210
211
console.log('✅ Uploaded bundles and sourcemaps to Sentry successfully.');
211
212
}else{
212
213
console.warn(
213
-
`⚠️ Uploaded ${numAssetsUploaded} of ${totalAssets} bundles and sourcemaps. ${
214
-
numAssetsUploaded===0 ? 'Ensure you are running `expo export` with the `--dump-sourcemap` flag.' : ''
214
+
`⚠️ Uploaded ${numAssetsUploaded} of ${totalAssets} bundles and sourcemaps. ${numAssetsUploaded===0 ? 'Ensure you are running `expo export` with the `--dump-sourcemap` flag.' : ''
0 commit comments