# ProGuard rules for ultralytics_yolo and its dependencies -dontwarn java.beans.** -dontwarn org.yaml.snakeyaml.** -keep class org.yaml.snakeyaml.** { *; } -keepclassmembers class org.yaml.snakeyaml.** { *; } # Google Play Services -dontwarn com.google.android.gms.** -keep class com.google.android.gms.** { *; } # Kotlin -dontwarn kotlin.** -keep class kotlin.** { *; } -dontwarn org.jetbrains.annotations.** # General Flutter ProGuard rules -keep class io.flutter.app.** { *; } -keep class io.flutter.plugin.** { *; } -keep class io.flutter.util.** { *; } -keep class io.flutter.view.** { *; } -keep class io.flutter.** { *; } -keep class io.flutter.plugins.** { *; } # Allow obfuscation of everything else but keep metadata for plugins -keepattributes Signature,Exceptions,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod,InnerClasses