# Add project specific ProGuard rules here. # You can control the set of applied configuration files using the # proguardFiles setting in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-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 # Google Mobile Ads SDK -keep class com.google.android.gms.ads.** { *; } -dontwarn com.google.android.gms.ads.** # Keep stack traces useful enough for release diagnostics stored by DiagnosticFileTree. -keepattributes SourceFile,LineNumberTable,InnerClasses,EnclosingMethod,Signature,*Annotation* -renamesourcefileattribute SourceFile # Room loads generated database implementations by naming convention. -keep class * extends androidx.room.RoomDatabase { *; } -keep class **_Impl { *; } -keep class **_Impl$* { *; } -dontwarn androidx.room.paging.** # FFmpegKit crosses Java/native boundaries and exposes classes to callbacks. -keep class com.arthenica.ffmpegkit.** { *; } -keep class com.arthenica.smartexception.** { *; } -dontwarn com.arthenica.ffmpegkit.** -dontwarn com.arthenica.smartexception.** # jaudiotagger is used for real file tag parsing/writing. Keep it stable under R8 # because reader/writer/tag classes are tightly coupled and some helpers use reflection. -keep class org.jaudiotagger.** { *; } -keep enum org.jaudiotagger.** { *; } -dontwarn org.jaudiotagger.** # Media3, Coil and Compose ship consumer rules, but keep warnings quiet for optional # platform/API references that may appear only on newer Android versions. -dontwarn androidx.media3.** -dontwarn coil3.** -dontwarn kotlinx.atomicfu.**