-keep public class com.amplitude.android.sessionreplay.** { *; }
-keep public class com.amplitude.android.sessionreplay.internal.** { *; }
-keep class kotlin.Metadata
-keep public class com.amplitude.android.sessionreplay.compose.ModifiersKt { *; }

-keepclassmembers,allowobfuscation class * {
    @com.google.gson.annotations.SerializedName <fields>;
}

-keep class androidx.compose.ui.platform.AndroidComposeView { *; }
-keep class androidx.compose.ui.platform.ComposeView { *; }
-keep class androidx.compose.ui.graphics.Canvas { *; }
-keep class androidx.core.graphics.Insets { *; }
-keep class androidx.compose.ui.node.LayoutNode { *; }
-keep class androidx.compose.ui.node.NodeChain { *; }
-keep class androidx.compose.ui.node.BackwardsCompatNode { *; }

# Keep LogcatLogger implementation for session replay
-keep class com.amplitude.android.sessionreplay.LogcatLogger { *; }
-keep class com.amplitude.android.sessionreplay.LogcatLogger$Companion { *; }