From c4ca3cb369240f778ec05eaaf8deb9c185dc4dc7 Mon Sep 17 00:00:00 2001 From: Andrew Gunnerson Date: Sat, 14 Feb 2026 20:03:56 -0500 Subject: [PATCH] Enable proguard obfuscation Previously, this was disabled because the app is open source and there is no need to mask information in stack traces. However, optimizations in recent r8 versions make the stack traces quite useless anyway, even without obfuscation. Given that, let's switch back to the default behavior so that at least we can take advantage of smaller APK sizes. The mapping files will be published alongside official releases so that anyone can decode stacktraces from logs without needing a debug build. Signed-off-by: Andrew Gunnerson --- app/proguard-rules.pro | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 7841815..f8945ad 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -11,15 +11,3 @@ #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} - -# Uncomment this to preserve the line number information for -# debugging stack traces. --keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile - -# Disable obfuscation completely for BasicSync. As an open source project, -# shrinking is the only goal of minification. --dontobfuscate