Skip to content
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

Try to set the SentryRelease automatically from the AndroidManifest file #4024

Open
jamescrosswell opened this issue Mar 5, 2025 · 1 comment

Comments

@jamescrosswell
Copy link
Collaborator

Went one step further and made a task that just reads the values from my androidmanifest so i only have to update my version numbers in one file

Nice. I wonder if there's some way we could do that automatically in that transitive build process 🤔 (just for android, of course)

Originally posted by @jamescrosswell in #4011

@aritchie
Copy link
Collaborator

aritchie commented Mar 5, 2025

The issue references MAUI but went over into Android. Wouldn't we want to apply the following for MAUI apps? We could use the following msbuild vars:

<ApplicationTitle>My App</ApplicationTitle>
<ApplicationId>com.sentry.myapp</ApplicationId>
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants