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

Auto release detection not working #4227

Open
rodolfoBee opened this issue Mar 4, 2025 · 2 comments
Open

Auto release detection not working #4227

rodolfoBee opened this issue Mar 4, 2025 · 2 comments

Comments

@rodolfoBee
Copy link
Member

Integration

sentry-android

Build System

Gradle

AGP Version

5.1.0

Proguard

Enabled

Version

8.1.0 and 7.13.0

Steps to Reproduce

  1. Configure the Android SDK as:
plugins {
id 'io.sentry.android.gradle' version '5.1.0'
}
...
sentry{
includeProguardMapping.set(true)
autoUploadProguardMapping.set(true)
tracingInstrumentation.enabled.set(false)

in AndroidManifest.xml:

<application>
<meta-data
android:name="io.sentry.dsn"
android:value="_MY_DSN_" />
</application>

Run the app

Expected Result

All events sent by the SDK have the default release tag associated with them. This release is based on the app/build.gradle configuration {applicationId}@{versionName}+{versionCode}.

Actual Result

Some events are missing release tag. The issue was originally reported in this internal ticket where events are not filtered by the release filter.

The project contains multiple grade files which might be root cause.

@markushi
Copy link
Member

markushi commented Mar 4, 2025

It's worth mentionning that the event.release is null, as well as the context.app.appversion/build, so it seems our backfilling logic is not working as intented.

@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 Mar 4, 2025
@stefanosiano stefanosiano moved this from Needs Discussion to Todo in Mobile & Cross Platform SDK Mar 5, 2025
@rodolfoBee
Copy link
Member Author

@markushi @stefanosiano do we have an update on this issue?

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Status: Todo
Development

No branches or pull requests

2 participants