getsentry / sentry-dart-plugin

A Dart Build Plugin that uploads debug symbols for Android, iOS/macOS and source maps for Web to Sentry via sentry-cli
MIT License
68 stars 28 forks source link

Is sentry configuration possible with a separate yaml file instead of pubspec.yaml #194

Closed memishood closed 10 months ago

memishood commented 10 months ago

I want to move the following configuration to a separate yaml file (eg: sentry.yaml) to make pubspec yaml file more clear. I checked the documentation but I couldn't it.

sentry:
  upload_debug_symbols: true
  upload_source_maps: true
  upload_sources: false
  ...
buenaflor commented 10 months ago

Currently, no.

We are currently working on supporting a sentry.properties file.

upload_debug_symbols=true
upload_source_maps=true
...
memishood commented 10 months ago

that way would also work for me since configurations will be able to be moved from pusbpec

buenaflor commented 10 months ago

Great! A pr is on the way #191

buenaflor commented 10 months ago

Closing in favour of #42