From 911752489b480354583fe0def680c77e58787f27 Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Wed, 15 Jul 2026 13:13:42 +0200 Subject: [PATCH] fix(samples): Use float literal for session-replay sample rate The Android sample manifest set io.sentry.session-replay.session-sample-rate to the integer literal "1", which aapt stores as an int. ManifestMetadataReader reads it via Bundle.getFloat, which does not coerce an int-typed value and logs a framework warning before falling back to getInt on startup. Using the float literal "1.0" stores it as a float so getFloat succeeds and no warning is logged. Co-Authored-By: Claude Opus 4.8 --- .../sentry-samples-android/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml b/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml index 61f4df5b8d..27fbed4f34 100644 --- a/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml +++ b/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml @@ -266,7 +266,7 @@ android:value="canvas" /> + android:value="1.0" />