# Consumer rules for :GenuinPangleAds — applied to every app that depends on this artifact.
#
# Pangle's own keep rules ship inside its AAR (proguard.txt, keeping com.bytedance.sdk.**,
# com.pgl.ssdk.**, com.iab.omid.library.bytedance2.** and friends) and AGP applies them
# transitively, so nothing about the vendor SDK needs restating here.
#
# What does need a rule is our own ServiceLoader provider. Its only reference is a text file in
# META-INF/services, so R8 sees an unused class and strips it — and the failure mode is the quiet
# one this whole boundary is built around: no registry entry, every Pangle candidate skipped, no
# error and nothing in the logs. A minified release build is the only place it shows up.
-keep class com.begenuin.pangleads.PangleAdNetworkProvider { public <init>(...); }
-keep class * implements com.begenuin.core.ads.external.ExternalAdNetworkProvider {
    public <init>(...);
}
