Skip to content

Commit b664d49

Browse files
Merge 4af3503 into 30e2d76
2 parents 30e2d76 + 4af3503 commit b664d49

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Fixes
1010

1111
- `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))
12+
- Flavor aware Android builds use `SENTRY_AUTH_TOKEN` env as fallback when token not found in `sentry-flavor-type.properties`. ([#3917](https://github.com/getsentry/sentry-react-native/pull/3917))
1213

1314
### Dependencies
1415

sentry.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ gradle.projectsEvaluated {
183183
])
184184
args.addAll(!config.flavorAware ? [] : [
185185
"--url", sentryProps.get("defaults.url"),
186-
"--auth-token", sentryProps.get("auth.token")
186+
"--auth-token", sentryProps.get("auth.token") ?: System.getenv("SENTRY_AUTH_TOKEN")
187187
])
188188
args.addAll(["react-native", "gradle",
189189
"--bundle", bundleOutput, // The path to a bundle that should be uploaded.

0 commit comments

Comments
 (0)