Skip to content

chore: unify Sentry release to package-qualified name (com.example.empower_flutter@…)#24

Merged
Prithvirajkumar merged 1 commit into
mainfrom
chore/unify-sentry-release
Jun 19, 2026
Merged

chore: unify Sentry release to package-qualified name (com.example.empower_flutter@…)#24
Prithvirajkumar merged 1 commit into
mainfrom
chore/unify-sentry-release

Conversation

@Prithvirajkumar

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #23. Sets SENTRY_RELEASE in .env.example to the package-qualified form com.example.empower_flutter@<version>+<build> so the app's release matches the identifier Build Distribution derives from the APK.

Why

sentry-cli build upload (Build Distribution / size analysis) keys builds by the APK's applicationId+version (com.example.empower_flutter@9.22.0+1), not by the free-form SENTRY_RELEASE. With the bare empower_flutter@… release, events/symbols landed on one release while builds landed on another. Using the package-qualified name makes events, debug symbols, web source maps, ProGuard mapping, and builds all share one release.

This works because sentry_dart_plugin reads SENTRY_RELEASE from the env, demo.sh's get_release_name already emits com.example.…, and Build Distribution reads the same identity from the APK — so all sources now agree.

Change

  • .env.example: SENTRY_RELEASE=com.example.empower_flutter@9.22.0+1 (+ clarifying comment). (.env is gitignored; updated locally.)

Verified by rebuilding/uploading: the release build now creates only com.example.empower_flutter@9.22.0+1, with Dart symbols, ProGuard, web source maps, and the Build Distribution APK all under it.

🤖 Generated with Claude Code

Build Distribution keys builds by the APK's applicationId+version
(com.example.empower_flutter@version), so set SENTRY_RELEASE to the same
package-qualified form. Now events, debug symbols, source maps, ProGuard
mapping, and builds all share one release instead of splitting between
empower_flutter@... and com.example.empower_flutter@...

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Prithvirajkumar Prithvirajkumar merged commit ed4a3f1 into main Jun 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant