-
-
Notifications
You must be signed in to change notification settings - Fork 257
Read SENTRY_RELEASE
and other env vars in the dart
package
#306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ueman this issue is about sentry-dart/flutter/lib/src/default_integrations.dart Lines 362 to 369 in fecf459
ideally, for non Android/iOS, this should work for the Dart package too, maybe moving this around |
Thanks, I already figured that out, though. One question I have is the order of precedence. |
see here https://docs.sentry.io/platforms/dart/configuration/options/ it depends on the property tbh, eg SENTRY_ENVIRONMENT has precedence over options.environment package_info has precedence over SENTRY_RELEASE, SENTRY_RELEASE has precedence over options.release (this is tricky as package_info is an integration and executed only later)
|
Discovering release via env var is also useful in the core
dart
package to be used by Dart VM projects.The text was updated successfully, but these errors were encountered: