-keepattributes *Annotation*
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
-keeppackagenames com.cleveradssolutions.**

# Keep reflection targets
-keep public class com.cleveradssolutions.plugin.** { public *; }
-keep public class com.cleveradssolutions.adapters.** extends com.cleveradssolutions.mediation.core.MediationAdapterBase { public protected *; }
-keepnames class com.cleveradssolutions.internal.main.MainAdAdapter

-keepclassmembers class **.R$raw {
    public static final int cas_settings*;
}

-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient { public *; }
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info { public *; }
-keep class com.google.android.gms.common.internal.StringResourceValueReader { public *; }
-keep class com.google.android.material.bottomsheet.BottomSheetDialog { public *; }
-keep class com.google.android.material.bottomsheet.BottomSheetBehavior { public *; }
-keep class com.google.android.ump.UserMessagingPlatform { public *; }
-keep class com.google.firebase.analytics.FirebaseAnalytics {
    public void logEvent(java.lang.String, android.os.Bundle);
}
-keep class com.tenjin.android.TenjinSDK {
    public *;
}
-keepclassmembers class com.tenjin.android.TenjinSDK {
    private java.lang.String apiKey;
}
-keep class com.tenjin.android.config.TenjinConsts {
    public static final java.lang.String sdkVersion;
}

-dontwarn com.google.android.ump.**

-keepattributes JavascriptInterface
-keepclassmembers class * { @android.webkit.JavascriptInterface <methods>; }

# OkHttp + Okio
-dontwarn okio.**
-dontwarn com.squareup.okhttp3.**
-dontwarn android.webkit.**
-dontwarn javax.annotation.**
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
# A resource is loaded with a relative path so the package of this class must be preserved.
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-keep class com.squareup.okhttp3.** {*;}
-keep public class android.net.http.SslError
-keep public class android.webkit.WebViewClient
-keep public class android.webkit.WebView

# Moat SDK
-keep class com.moat.** { *; }
-dontwarn com.moat.**

# https://github.com/firebase/firebase-android-sdk/issues/3688
-keep class org.json.** { *; }
-keepclassmembers class org.json.** { *; }
