# Prevent WebViewClientCompat from being renamed, since chromium depends on this name.
-keepnames public class androidx.webkit.WebViewClientCompat
-keepattributes *Annotation*
-keepattributes *JavascriptInterface*
-keepattributes RuntimeVisibleAnnotations
-keep class kotlin.Metadata { *; }
-keep class app.screeb.sdk.init.model.** { *; }
-keep class app.screeb.sdk.tracking.model.** { *; }
-keep class * extends android.webkit.WebChromeClient { *; }

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

# Keep ScreebWebView class and all its members
-keep class app.screeb.sdk.ScreebWebView {
    *;
}

# Keep all class members in the app.screeb.sdk package (reflection safe)
-keepclassmembers class app.screeb.sdk.** {
    *;
}

# Keep Play Core library (for in-app reviews)
-keep class com.google.android.play.core.** { *; }
