Files
smoa/app/proguard-rules.pro
2025-12-26 10:48:33 -08:00

27 lines
808 B
Prolog

# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
# Keep Hilt classes
-keep class dagger.hilt.** { *; }
-keep class javax.inject.** { *; }
-keep class * extends dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper { *; }
# Keep Room classes
-keep class * extends androidx.room.RoomDatabase
-keep @androidx.room.Entity class *
# Keep data classes
-keepclassmembers class * {
@androidx.room.* <methods>;
}
# Keep security-related classes
-keep class androidx.security.** { *; }
-dontwarn androidx.security.**
# Keep Kotlin coroutines
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}