Skip to content

Android manifest int/float parsing #3603

@vaind

Description

@vaind

Integration

sentry-android

Build System

Gradle

AGP Version

n/a

Proguard

Enabled

Version

7.12.0

Steps to Reproduce

Add <meta-data android:name="io.sentry.session-replay.session-sample-rate" android:value="1" /> to android manifest (this is what was output by a custom tooling that creates items programatically during build from a 1.0 double value after calling ToString() on it in c#

Expected Result

Recognizes 1 as 1.0

Actual Result

Key io.sentry.session-replay.session-sample-rate expected Float but value was a java.lang.Integer. The default value -1.0 was returned.

Metadata

Metadata

Assignees

Labels

BugIssue type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions