From 4b48d455e49d3396603692918b25a9b6c52258f1 Mon Sep 17 00:00:00 2001 From: gronod <1+gronod@noreply.localhost> Date: Sun, 14 Jun 2026 12:19:07 +0100 Subject: [PATCH] Upload files to "app" --- app/proguard-rules.pro.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/proguard-rules.pro.txt diff --git a/app/proguard-rules.pro.txt b/app/proguard-rules.pro.txt new file mode 100644 index 0000000..49a48f9 --- /dev/null +++ b/app/proguard-rules.pro.txt @@ -0,0 +1,31 @@ +# ProGuard rules for ESP32 ALDL Dashboard +# Compose + Room + Kotlin Serialization + Navigation3 + +# --- General --- +-keepattributes *Annotation* +-keepattributes Signature +-keepattributes InnerClasses +-keepattributes EnclosingMethod + +# --- Room --- +-keep class * extends androidx.room.RoomDatabase +-keep class * { @androidx.room.* ; } +-dontwarn androidx.room.paging.** + +# --- Kotlin Serialization --- +-keep class kotlinx.serialization.** { *; } +-keepclassmembers class ** { + static ** \]serializerInstance; +} + +# --- Compose / Navigation3 --- +-keep class androidx.navigation3.** { *; } +-keepclassmembers class * { + @androidx.compose.runtime.Composable ; +} + +# --- DataStore --- +-keep class androidx.datastore.** { *; } + +# --- Keep all app classes (safe for now) --- +-keep class com.gronod.esp32aldldashboard.** { *; } \ No newline at end of file