281 lines
10 KiB
Prolog
281 lines
10 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# If your project uses WebView with JS, uncomment the following
|
|
# and specify the fully qualified class name to the JavaScript interface
|
|
# class:
|
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
# public *;
|
|
#}
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
# debugging stack traces.
|
|
#-keepattributes SourceFile,LineNumberTable
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# hide the original source file name.
|
|
#-renamesourcefileattribute SourceFile
|
|
|
|
#-----------------------------------------------------ironSource SDK
|
|
-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 <methods>; }
|
|
#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
|
|
#-----------------------------------------------------ironSource SDK
|
|
|
|
#---------------------------------------------Topon
|
|
-keep class com.startapp.** {
|
|
*;
|
|
}
|
|
|
|
-keep class com.truenet.** {
|
|
*;
|
|
}
|
|
|
|
-keepattributes Exceptions, InnerClasses, Signature, Deprecated, SourceFile,
|
|
LineNumberTable, *Annotation*, EnclosingMethod
|
|
-dontwarn android.webkit.JavascriptInterface
|
|
-dontwarn com.startapp.**
|
|
|
|
-dontwarn org.jetbrains.annotations.**
|
|
-keep class com.appnext.** { *; }
|
|
-dontwarn com.appnext.**
|
|
# Vungle
|
|
-dontwarn com.vungle.ads.**
|
|
-keepclassmembers class com.vungle.ads.** {
|
|
*;
|
|
}
|
|
-keep class com.vungle.ads.**
|
|
|
|
|
|
|
|
# Google
|
|
-keep class com.google.android.gms.** { *; }
|
|
-dontwarn com.google.android.gms.**
|
|
|
|
|
|
|
|
|
|
# START OkHttp + Okio
|
|
# JSR 305 annotations are for embedding nullability information.
|
|
-dontwarn javax.annotation.**
|
|
|
|
|
|
# A resource is loaded with a relative path so the package of this class must be preserved.
|
|
-adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
|
|
|
|
|
|
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
|
|
|
|
|
# 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.**
|
|
|
|
|
|
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
|
|
|
|
|
# END OkHttp + Okio
|
|
|
|
|
|
# START Protobuf
|
|
-dontwarn com.google.protobuf.**
|
|
-keepclassmembers class com.google.protobuf.** {
|
|
*;
|
|
}
|
|
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
|
|
|
|
|
|
# END Protobuf
|
|
-keepclassmembers class com.ironsource.sdk.controller.IronSourceWebView$JSInterface {
|
|
public *;
|
|
}
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
public static final android.os.Parcelable$Creator *;
|
|
}
|
|
-keep public class com.google.android.gms.ads.** {
|
|
public *;
|
|
}
|
|
-keep class com.ironsource.adapters.** { *;
|
|
}
|
|
-dontwarn com.ironsource.mediationsdk.**
|
|
-dontwarn com.ironsource.adapters.**
|
|
-keepattributes JavascriptInterface
|
|
-keepclassmembers class * {
|
|
@android.webkit.JavascriptInterface <methods>;
|
|
}
|
|
-keep class com.bytedance.sdk.** { *; }
|
|
-keep class com.inmobi.** { *; }
|
|
-keep public class com.google.android.gms.**
|
|
-dontwarn com.google.android.gms.**
|
|
-dontwarn com.squareup.picasso.**
|
|
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient{
|
|
public *;
|
|
}
|
|
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info{
|
|
public *;
|
|
}
|
|
# skip the Picasso library classes
|
|
-keep class com.squareup.picasso.** {*;}
|
|
-dontwarn com.squareup.okhttp.**
|
|
# skip Moat classes
|
|
-keep class com.moat.** {*;}
|
|
-dontwarn com.moat.**
|
|
# skip IAB classes
|
|
-keep class com.iab.** {*;}
|
|
-dontwarn com.iab.**
|
|
-keepattributes Signature
|
|
-keepattributes *Annotation*
|
|
-keep class com.mbridge.** {*; }
|
|
-keep interface com.mbridge.** {*; }
|
|
-keep class android.support.v4.** { *; }
|
|
-dontwarn com.mbridge.**
|
|
-keep 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.chartboost.** { *; }
|
|
|
|
#---------------------------------------------Topon
|
|
|