Skip to content

Auto release detection not working #4227

@rodolfoBee

Description

@rodolfoBee

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.

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions