# Glide -keep public class * implements com.bumptech.glide.module.GlideModule -keep class * extends com.bumptech.glide.module.AppGlideModule { (...); } -keep public enum com.bumptech.glide.load.ImageHeaderParser$** { **[] $VALUES; public *; } -keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder { *** rewind(); } # for DexGuard only #-keepresourcexmlelements manifest/application/meta-data@value=GlideModule # AOP -adaptclassstrings -keepattributes InnerClasses, EnclosingMethod, Signature, *Annotation* -keepnames @org.aspectj.lang.annotation.Aspect class * { public ; } # OkHttp3 -keepattributes Signature -keepattributes *Annotation* -keep class okhttp3.** { *; } -keep interface okhttp3.** { *; } -dontwarn okhttp3.** -dontwarn okio.** -dontwarn org.conscrypt.** -keep class com.gyf.immersionbar.* {*;} -dontwarn com.gyf.immersionbar.** # com.hjq -keep class com.hjq.permissions.** {*;} -keep class com.hjq.bar.** {*;} -keep class com.hjq.toast.** {*;} -keep class com.hjq.shape.** {*;} -dontwarn com.lxj.xpopup.widget.** -keep class com.lxj.xpopup.widget.**{*;} -keep class com.adjust.sdk.** { *; } -keep class com.google.android.gms.common.ConnectionResult { int SUCCESS; } -keep class com.google.android.gms.ads.identifier.AdvertisingIdClient { com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo(android.content.Context); } -keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info { java.lang.String getId(); boolean isLimitAdTrackingEnabled(); } -keep public class com.android.installreferrer.** { *; } -keep class com.wang.avi.** { *; } -keep class com.wang.avi.indicators.** { *; } -keep class com.bytedance.sdk.** { *; } -keep public class com.google.android.gms.** { public protected *; } -keepattributes SourceFile,LineNumberTable # Keep file names and line numbers. -keep public class * extends java.lang.Exception # Optional: Keep custom exceptions. -keep class android.support.v8.renderscript.** { *; } -keep class androidx.renderscript.** { *; } -keepattributes Signature -keepattributes *Annotation* -keep class com.mbridge.** {*; } -keep interface com.mbridge.** {*; } -dontwarn com.mbridge.** -keepclassmembers class **.R$* { public static final int mbridge*; } -keep public class com.mbridge.* extends androidx.** { *; } -keep public class androidx.viewpager.widget.PagerAdapter{*;} -keep public class androidx.viewpager.widget.ViewPager.OnPageChangeListener{*;} -keep interface androidx.annotation.IntDef{*;} -keep interface androidx.annotation.Nullable{*;} -keep interface androidx.annotation.CheckResult{*;} -keep interface androidx.annotation.NonNull{*;} -keep public class androidx.fragment.app.Fragment{*;} -keep public class androidx.core.content.FileProvider{*;} -keep public class androidx.core.app.NotificationCompat{*;} -keep public class androidx.appcompat.widget.AppCompatImageView {*;} -keep public class androidx.recyclerview.*{*;} -keep class com.mbridge.msdk.foundation.tools.FastKV{*;} -keep class com.mbridge.msdk.foundation.tools.FastKV$Builder{*;} -keepclassmembers class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } #noinspection ShrinkerUnresolvedReference #unity -keep class com.google.android.gms.ads.** {public *;} -keep class com.google.android.gms.appset.** { *; } -keep class com.google.android.gms.tasks.** { *; } #adapters -keep class com.ironsource.adapters.** { *; } #sdk -dontwarn com.ironsource.** -dontwarn com.ironsource.adapters.** -keepclassmembers class com.ironsource.** { public *; } -keep public class com.ironsource.** -keep class com.ironsource.adapters.** { *; } #omid -dontwarn com.iab.omid.** -keep class com.iab.omid.** {*;} #javascript -keepattributes JavascriptInterface -keepclassmembers class * { @android.webkit.JavascriptInterface ; } #For AmazonAps integration -keep class com.amazon.device.ads.DtbThreadService { static *; } -keep public interface com.amazon.device.ads** {*; } #For AppLovin integration -keepclassmembers class com.applovin.sdk.AppLovinSdk { static *; } -keep public interface com.applovin.sdk** {*; } -keep public interface com.applovin.adview** {*; } -keep public interface com.applovin.mediation** {*; } -keep public interface com.applovin.communicator** {*; } #For Bytedance integration -keep public interface com.bytedance.sdk.openadsdk** {*; } #For Facebook integration -keepclassmembers class com.facebook.ads.internal.AdSdkVersion { static *; } -keepclassmembers class com.facebook.ads.internal.settings.AdSdkVersion { static *; } -keepclassmembers class com.facebook.ads.BuildConfig { static *; } -keep public interface com.facebook.ads** {*; } #For Fairbid -keep public interface com.fyber.fairbid.ads.interstitial** {*; } -keep public interface com.fyber.fairbid.ads.rewarded** {*; } -keep class com.fyber.offerwall.* #For Fivead -keep public interface com.five_corp.ad** {*; } #For Fyber(Inneractive) integration -keep public interface com.fyber.inneractive.sdk.external** {*; } -keep public interface com.fyber.inneractive.sdk.activities** {*; } -keep public interface com.fyber.inneractive.sdk.ui** {*; } #For HyprMX integration -keepclassmembers class com.hyprmx.android.sdk.utility.HyprMXProperties { static *; } -keepclassmembers class com.hyprmx.android.BuildConfig { static *; } -keep public interface com.hyprmx.android.sdk.activity** {*; } -keep public interface com.hyprmx.android.sdk.graphics** {*; } # For Inmobi integration -keep class com.inmobi.* -keep public interface com.inmobi.ads.listeners** {*; } -keep public interface com.inmobi.ads.InMobiInterstitial** {*; } -keep public interface com.inmobi.ads.InMobiBanner** {*; } # For ironSource integration -keep public interface com.ironsource.mediationsdk.sdk** {*; } -keep public interface com.ironsource.mediationsdk.impressionData.ImpressionDataListener {*; } #For Maio integration -keep public interface jp.maio.sdk.android.MaioAdsListenerInterface {*; } # For Mintergral integration -keep public interface com.mbridge.msdk.out** {*; } -keep public interface com.mbridge.msdk.videocommon.listener** {*; } -keep public interface com.mbridge.msdk.interstitialvideo.out** {*; } -keep public interface com.mintegral.msdk.out** {*; } -keep public interface com.mintegral.msdk.videocommon.listener** {*; } -keep public interface com.mintegral.msdk.interstitialvideo.out** {*; } #For MyTarget integration -keep class com.my.target.** {*;} #For Ogury integration -keep public interface io.presage.interstitial** {*; } -keep public interface io.presage.interstitial.PresageInterstitialCallback {*; } #For Pubnative integration -keep public interface net.pubnative.lite.sdk.interstitial.HyBidInterstitialAd** {*; } -keep public interface net.pubnative.lite.sdk.rewarded.HyBidRewardedAd** {*; } -keep public interface net.pubnative.lite.sdk.views.HyBidAdView** {*; } #For Smaato integration -keep public interface com.smaato.sdk.interstitial** {*; } -keep public interface com.smaato.sdk.video.vast** {*; } -keep public interface com.smaato.sdk.banner.widget** {*; } -keep public interface com.smaato.sdk.core.util** {*; } # For Tapjoy integration -keep public interface com.tapjoy.** {*; } # For Tencent integration -keep public interface com.qq.e.ads.interstitial2** {*; } -keep public interface com.qq.e.ads.interstitial3** {*; } -keep public interface com.qq.e.ads.rewardvideo** {*; } -keep public interface com.qq.e.ads.rewardvideo2** {*; } -keep public interface com.qq.e.ads.banner2** {*; } -keep public interface com.qq.e.comm.adevent** {*; } #For Verizon integration -keepclassmembers class com.verizon.ads.edition.BuildConfig { static *; } -keep public interface com.verizon.ads.interstitialplacement** {*; } -keep public interface com.verizon.ads.inlineplacement** {*; } -keep public interface com.verizon.ads.vastcontroller** {*; } -keep public interface com.verizon.ads.webcontroller** {*; } #For Vungle integration -keep public interface com.vungle.warren.PlayAdCallback {*; } -keep public interface com.vungle.warren.ui.contract** {*; } -keep public interface com.vungle.warren.ui.view** {*; } #For AndroidX -keep class androidx.localbroadcastmanager.content.LocalBroadcastManager { *;} -keep class androidx.recyclerview.widget.RecyclerView { *;} -keep class androidx.recyclerview.widget.RecyclerView$OnScrollListener { *;} #For Android -keep class * extends android.app.Activity