-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
sentry.properties
ignored
#231
Comments
hey currently you need to have the required fields still in the pubspec field. we'll see to it so we can change this |
Hey, Could you clarify your previous message? Specifically, is it necessary to place the configuration solely in the pubspec file, or does sentry.properties still function? If both are needed, is it possible to include placeholder data in the pubspec? I'm also concerned about the security implications of storing the authentication token in pubspec.yaml, as it would require including sensitive information in version control. Is there an alternative approach that I might be overlooking? Thank you! |
There's a mistake in our readme and should be updated, sentry.properties does not yet support the project, org, and auth token field.
You can also use an environment variable |
We will provide a fix soon for this so sentry.properties can be a standalone piece of configuration |
@dickermoshe This sould work with the most recent version. Please upgrade and male sure you completley remove Built sentry_dart_plugin:sentry_dart_plugin.
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 0% reading config values..
Downloading sentry-cli from https://downloads.sentry-cdn.com/sentry-cli/2.27.0/sentry-cli-Darwin-universal to .dart_tool/pub/bin/sentry_dart_plugin/sentry-cli
Downloaded Sentry CLI binary checksum verification passed successfully (hash: 8693527282890285f55d9b55414905e8621dd788ad3ae4c85175b84e8eeb6a04).
Sentry CLI downloaded successfully.
sentry config not found in pubspec.yaml
retrieving config from sentry.properties
☑ reading config values
☑ validating config values
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 18% uploading debug symbols.. |
I just upgraded to the latest version (2.0.0) and moved all configuration to
|
@ospaarmann Could you share the contents of the properties file? You can redact the values. |
Sure thing
And the relevant part of
|
@ospaarmann The syntax for
This should do the trick. I will close this issue for now. |
That did indeed do the trick. Thanks @denrase ❤️ |
Environment
Dart 3.3.3 (stable) (Tue Mar 26 14:21:33 2024 +0000) on "windows_x64"
sentry_dart_plugin: ^1.6.0
Steps to Reproduce
sentry.properties
instead of pubspec.yamlExpected Result
Work
Actual Result
The text was updated successfully, but these errors were encountered: