##### Moloco START

-keep class com.moloco.sdk.publisher.**{*;}
-keep class com.moloco.sdk.internal.MolocoLogger {*;}
-keep class com.moloco.sdk.internal.unity_bridge.* {*;}
-keep interface com.moloco.sdk.internal.MolocoLogger$LoggerListener {*;}
-keep class com.moloco.sdk.BuildConfig {*;}
-keep class com.moloco.marvel**{*;}
-keep class com.moloco.sdk.adapter.**{*;}


## OKHTTP START
# https://github.com/square/okhttp/pull/6792#issuecomment-1272616062
# OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
-dontwarn okhttp3.internal.platform.**
-dontwarn org.conscrypt.**
-dontwarn org.bouncycastle.**
-dontwarn org.openjsse.**
## OKHTTP END

## SERIALIZER START
# Serializer for classes with named companion objects are retrieved using `getDeclaredClasses`.
# If you have any, replace classes with those containing named companion objects.
-keepattributes InnerClasses # Needed for `getDeclaredClasses`.

-keepclassmembers class kotlinx.serialization.json.** {
    *** Companion;
}
-keepclasseswithmembers class kotlinx.serialization.json.** {
    kotlinx.serialization.KSerializer serializer(...);
}

-keep,includedescriptorclasses class com.moloco.**$$serializer { *; } # <-- change package name to your app's
-keepclassmembers class com.moloco.** { # <-- change package name to your app's
    *** Companion;
}
-keepclasseswithmembers class com.moloco.** { # <-- change package name to your app's
    kotlinx.serialization.KSerializer serializer(...);
}
## SERIALIZER END

## KOTLIN START
# https://github.com/Kotlin/kotlinx.serialization/issues/42#issuecomment-349743544
-keep class kotlin.reflect.** { *; }
-dontwarn kotlin.reflect.**
-keep class org.jetbrains.** { *; }
## KOTLIN END

## We include Applovin and Ironsource ILRD in our core SDK by using reflection, which may cause Proguard issue for a publisher not using any of the below SDKs
-dontwarn com.applovin.communicator.**
-dontwarn com.ironsource.mediationsdk.**

##### Moloco END
