sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Android manifest int/float parsing

Open vaind opened this issue 1 year ago • 1 comments

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.

vaind avatar Jul 24 '24 10:07 vaind