Recommended way to specify release for sentry_dart_plugin
when uploading debug symbols?
#2234
Unanswered
sumanthratna
asked this question in
Q&A
Replies: 1 comment
-
Hey, the plugin in this case doesn't know anything about the release you set during the build process so by default it uses the version specificed in What you can also do is update the puspec version, the sentry flutter sdk reads it automatically and sets it as release. So both plugin and flutter have access to pubspec.yaml |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building my Flutter app for iOS using
flutter build ipa --release --dart-define "TAIKI_API_ENDPOINT=..." --dart-define "SENTRY_DSN=..." --dart-define "SENTRY_RELEASE=..." --dart-define "SENTRY_ENVIRONMENT=release" --obfuscate --split-debug-info=./debug-info
. Then, I upload the debug symbols by runningdart run sentry_dart_plugin
.sentry_dart_plugin
computes the release to beapp@1.0.0+1
. Am I supposed to hard-code theSENTRY_RELEASE=
when runningflutter build
beforesentry_dart_plugin
? Is there a convenient way to run both of these steps such that I don't need to manually specify the release when building, while still having the debug symbols and built app point to the same Sentry release?Beta Was this translation helpful? Give feedback.
All reactions