Closed
Description
The default value for the environment
in the options should be production
. If the user sets an environment
, it precedes the default value. Sessions, transactions, events, etc., should all read the environment from the options. The SDK can set other default values if it detects different modes, such as debug
or test
.
On Cocoa, we have a bug where sessions don't use the default environment
from the options. Not setting an environment at all leads to different environments for events and transactions. Please validate that your SDK uses the correct default value:
### Tasks
- [x] https://github.com/getsentry/sentry-cocoa/issues/2411
- [ ] https://github.com/getsentry/sentry-java/issues/2381
- [ ] https://github.com/getsentry/sentry-react-native/issues/2801
- [X] Dart
- [ ] .NET
Metadata
Metadata
Assignees
Type
Projects
Status
Done