From 9c7d66f534c92c00302e079d2a7e0ee259a22377 Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Thu, 21 May 2026 10:44:44 -0400 Subject: [PATCH] fix: preserve source file names in R8 to fix error modal call site tracking Without -keepattributes SourceFile,LineNumberTable, R8 replaces source file names with its mapping hash, causing call sites to appear as r8-map-id-: instead of the actual file and line number. Signed-off-by: Brandon McAnsh --- apps/flipcash/app/proguard-rules.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/flipcash/app/proguard-rules.pro b/apps/flipcash/app/proguard-rules.pro index 90a2fc84d..8b186bfe6 100644 --- a/apps/flipcash/app/proguard-rules.pro +++ b/apps/flipcash/app/proguard-rules.pro @@ -3,6 +3,9 @@ -obfuscationdictionary shuffled-dictionary.txt -classobfuscationdictionary shuffled-dictionary.txt +# Preserve source file names and line numbers for stack traces (call site tracking, Bugsnag) +-keepattributes SourceFile,LineNumberTable + # Keep screen names -keepnames class * implements cafe.adriel.voyager.core.screen.Screen