# Consumer Proguard rules for AppsFlyer Purchase Connector
# Applied when this library is consumed by other projects

# ============================================================================
# GENERAL RULE - Keep all AppsFlyer classes for safety
# ============================================================================

# Keep all AppsFlyer classes to ensure consuming apps don't break
# This is safer than specific rules for a library
-keep class com.appsflyer.** { *; }

# ============================================================================
# KOTLIN SUPPORT
# ============================================================================

-keep class kotlin.jvm.internal.Intrinsics{ *; }
-keep class kotlin.collections.CollectionsKt{ *; }
-keep class kotlin.collections.MapsKt{ *; }
-keep class kotlin.Pair{ *; }
-keep class kotlin.TuplesKt{ *; }
-keep class kotlin.Metadata { *; }
-keep class kotlin.jvm.internal.DefaultConstructorMarker { *; }
-keep class kotlin.jvm.internal.Lambda { *; }
-keep class kotlin.jvm.functions.* { *; }

# ============================================================================
# WARNING SUPPRESSION
# ============================================================================

# Don't warn about AppsFlyer classes
-dontwarn com.appsflyer.**
