-keep class com.lygame.wrapper.provider.* { public *; }
-keep class com.lygame.wrapper.sdk.LySdk { *; }
-keep class com.lygame.wrapper.strategy.DefaultStrategy { *; }
-keep class com.lygame.wrapper.strategy.SdkStrategy { *; }
-keep class com.lygame.wrapper.ad.LySplashAdBuilder { *; }
-keep class com.lygame.wrapper.util.LySdkEventUtil { *; }
-keep class com.lygame.wrapper.util.Base64Util { *; }
-keep class com.lygame.wrapper.interfaces.* { *; }
-keep class com.innerscore.rtlog.RuntimeLogManager{ *; }

#OAID混淆
-keep class XI.CA.XI.**{*;}
-keep class XI.K0.XI.**{*;}
-keep class XI.XI.K0.**{*;}
-keep class XI.vs.K0.**{*;}
-keep class XI.xo.XI.XI.**{*;}
-keep class com.asus.msa.SupplementaryDID.**{*;}
-keep class com.asus.msa.sdid.**{*;}
-keep class com.bun.lib.**{*;}
-keep class com.bun.miitmdid.**{*;}
-keep class com.huawei.hms.ads.identifier.**{*;}
-keep class com.samsung.android.deviceidservice.**{*;}
-keep class org.json.**{*;}
-keep public class com.netease.nis.sdkwrapper.Utils {public
<methods>;}
-keep class com.zk.deviceidentifier.** { *; }
#-------------------------------------------基本不用动区域--------------------------------------------
#---------------------------------基本指令区----------------------------------
#-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontpreverify
-verbose
-keepattributes *Annotation*,InnerClasses
-keepattributes Signature
-keepattributes SourceFile,LineNumberTable
-ignorewarnings
-dontoptimize

-keepattributes *JavascriptInterface*
-keepattributes *$JavaScriptInterface
-keep public class *$JavaScriptInterface
#----------------------------------------------- -----------------------------

#---------------------------------默认保留区---------------------------------
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
# 不使用public免得页面抓出来就是混淆的，看不出是什么东西
-keep class * extends android.view.View
-keep public class com.android.vending.licensing.ILicensingService
-keep class com.google.**{*;}

# 保留继承的
-dontwarn android.support.v4.**
-keep class android.support.** {*;}
-keep interface android.support.v4.** { *; }
-keep public class * extends android.support.v4.**
-keep public class * extends android.support.v7.**
-keep public class * extends android.support.annotation.**

-keepclasseswithmembernames class * {
    native <methods>;
}
-keepclassmembers class * extends android.app.Activity{
    public void *(android.view.View);
}
-keepclassmembers enum * {
    public static **[] values();
    public static ** valueOf(java.lang.String);
}
-keep class * extends android.view.View{
    *** get*();
    void set*(***);
    public <init>(android.content.Context);
    public <init>(android.content.Context, android.util.AttributeSet);
    public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclasseswithmembers class * {
    public <init>(android.content.Context, android.util.AttributeSet);
    public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keep class * implements android.os.Parcelable {
  public static final android.os.Parcelable$Creator *;
}
-keepclassmembers class * implements java.io.Serializable {
    static final long serialVersionUID;
    private static final java.io.ObjectStreamField[] serialPersistentFields;
    private void writeObject(java.io.ObjectOutputStream);
    private void readObject(java.io.ObjectInputStream);
    java.lang.Object writeReplace();
    java.lang.Object readResolve();
}
-keep class **.R$* {
 *;
}
-keepclassmembers class * {
    void *(**On*Event);
    void *(**On*Listener);
    ** getInstance();
    ** getInstance(*);
    ** init();
    ** init(*);
}

# 方法名中含有“JNI”字符的，认定是Java Native Interface方法，自动排除
# 方法名中含有“JRI”字符的，认定是Java Reflection Interface方法，自动排除
-keepclasseswithmembers class * {
    ... *JNI*(...);
}

-keepclasseswithmembernames class * {
	... *JRI*(...);
}

-keep class **JNI* {*;}
#----------------------------------------------------------------------------

#---------------------------------webview------------------------------------
-keepclassmembers class fqcn.of.javascript.interface.for.Webview {
   public *;
}
-keepclassmembers class * extends android.webkit.WebViewClient {
    public void *(android.webkit.WebView, java.lang.String, android.graphics.Bitmap);
    public boolean *(android.webkit.WebView, java.lang.String);
}
-keepclassmembers class * extends android.webkit.WebViewClient {
    public void *(android.webkit.WebView, jav.lang.String);
}
-keepattributes *JavascriptInterface*
-keepattributes *$JavaScriptInterface
-keep public class *$JavaScriptInterface
#----------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------------

-keepclassmembers interface * {
    public *;
}

#playSdk
-dontwarn com.ishunwan.**
-keep class com.ishunwan.** {*;}
# 落地页部分的配置 end

-keep public class com.qadsdk.wpn.sdk.** {
    public *;
}

-keep public class com.qadsdk.wpn.sdk.$** {
    public *;
}


# 广点通混淆规则
-keep class com.qq.e.** {
    public protected *;
}
-keep class android.support.v4.**{
    public *;
}
-keep class android.support.v7.**{
    public *;
}
#-------------------------------------------------

# 穿山甲混淆规则
-keep class com.bytedance.embedapplog.AppLog { public *; }
-keep public interface com.bytedance.embedapplog.IDataObserver { *; }
-keep public interface com.bytedance.embedapplog.IAppParam { *; }
-keep public interface com.bytedance.embedapplog.IExtraParams { *; }
-keep public interface com.bytedance.embedapplog.IPicker { *; }
-keep public interface com.bytedance.embedapplog.IOaidObserver { *; }
-keep public interface com.bytedance.embedapplog.ISensitiveInfoProvider { *; }
-keep class com.bytedance.embedapplog.IOaidObserver$Oaid { *; }
-keep class com.bytedance.embedapplog.GameReportHelper { public *; }
-keep class com.bytedance.embedapplog.InitConfig { public *; }
-keep class com.bytedance.embedapplog.util.UriConfig { public *; }
-keep class com.bytedance.embedapplog.tracker.Tracker { public *; }
-keep class com.bytedance.embedapplog.picker.Picker { public *; }
-keep class com.bytedance.embedapplog.tracker.WebViewJsUtil { *; }
-keep interface com.bytedance.embed_device_register.DrLogWriter { public *; }
-keep interface com.bytedance.embed_bdtracker.bt { public *; }
-keep class com.bytedance.embed_bdtracker.bt$a { public *; }
-keep class com.bytedance.embed_bdtracker.bt$a$a { public *; }

-dontwarn com.tencent.smtt.sdk.WebView
-dontwarn com.tencent.smtt.sdk.WebChromeClient

-dontwarn androidx.annotation.Nullable
-dontwarn androidx.annotation.NonNull
-dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient
-dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient$Info
-dontwarn androidx.appcompat.app.AlertDialog
-dontwarn androidx.appcompat.view.menu.ListMenuItemView
-dontwarn androidx.recyclerview.widget.RecyclerView
-dontwarn androidx.swiperefreshlayout.widget.SwipeRefreshLayout
-dontwarn androidx.viewpager.widget.ViewPager
-dontwarn androidx.recyclerview.widget.RecyclerView
-dontwarn androidx.annotation.RequiresApi
-dontwarn androidx.fragment.app.FragmentActivity
-dontwarn androidx.fragment.app.Fragment
-dontwarn androidx.annotation.AnyThread
-dontwarn androidx.annotation.WorkerThread

# SecSDK Interface
-keep public class com.pgl.sys.ces.out.* {
    public *;
}

# SecSDK Main Function
-keep public class com.pgl.sys.ces.a {*;}

#-------------------------------------------------



-dontoptimize
-keepattributes Signature
-keepattributes *Annotation*
-keep class android.support.v4.** { *; }

-dontwarn com.meizu.ads.**
-dontwarn com.meizu.comm.**
-keep class com.meizu.ads.** {*;}
-keep class com.meizu.comm.** {*;}
# BaiDu
-dontwarn com.baidu.mobad.**
-dontwarn com.baidu.mobads.**
-keep class com.baidu.mobad.** {*;}
-keep class com.baidu.mobads.** {*;}
# GDT
-dontwarn com.qq.e.**
-keep class com.qq.e.** {*;}
# Uniplay
-dontwarn com.joomob.**
-dontwarn com.uniplay.adsdk.**
-keep class com.joomob.** {*;}
-keep class com.uniplay.adsdk.** {*;}
# Mintegral
-dontwarn com.mintegral.msdk.**
-dontwarn com.iab.omid.library.mintegral.**
-keep class com.mintegral.msdk.** {*;}
-keep class com.iab.omid.library.mintegral.** {*;}
# Oneway
-dontwarn okhttp3.**
-dontwarn okio.**
-dontwarn com.liulishuo.**
-dontwarn com.didi.**
-dontwarn mobi.oneway.**
-dontwarn android.databinding.**
-dontwarn android.content.**
-keep class okhttp3.** {*;}
-keep class okio.** {*;}
-keep class com.liulishuo.** {*;}
-keep class com.didi.** {*;}
-keep class mobi.oneway.** {*;}
-keep class android.databinding.** {*;}
-keep class android.content.** {*;}
# Toutiao
#-dontwarn com.ss.android.**
-dontwarn com.pgl.a.**
-dontwarn com.pgl.sys.**
-dontwarn com.bytedance.**
-dontwarn pl.droidsonroids.gif.**
-dontwarn android.os.SystemProperties
#-keep class com.ss.android.** {*;}
#-keep class com.pgl.sys.** {*;}
#-keep class com.pgl.a.** {*;}
#-keep class com.bytedance.** {*;}
-keep class com.pgl.sys.**.** {*;}
-keep class pl.droidsonroids.gif.** {*;}
-keep class com.bytedance.sdk.openadsdk.** { *; }
-keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;}

# Sigmob
-dontwarn com.sigmob.**
-keep class sun.misc.Unsafe { *; }
-keep class com.sigmob.**.**{*;}
-keep class com.sigmob.**{*;}



#穿山甲
-keep class com.bytedance.sdk.openadsdk.** { *; }
-keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;}
-keep class com.pgl.sys.ces.* {*;}
#百度
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class com.baidu.mobads.** { *; }
-keep class com.baidu.mobad.** { *; }

-keep class com.analytics.sdk.** {*;}
-keep class com.androidquery.** {*;}
#广点通
-keep class com.qq.e.** {*;}

#多牛
-keep class com.donews.** {*;}

#快手混淆 5.0以及5.0以上SDK有快手渠道，低于5.0版本不用添加
-keep class org.chromium.** {*;}
-keep class org.chromium.** { *; }
-keep class aegon.chrome.** { *; }
-keep class com.kwai.**{ *; }
-dontwarn com.kwai.**
-dontwarn com.kwad.**
-dontwarn com.ksad.**
-dontwarn aegon.chrome.**

#sigmob混淆配置 大于等于5.1版本如果添加了sigmob的aar以后需要添加
-keep class sun.misc.Unsafe { *; }
-dontwarn com.sigmob.**
-keep class com.sigmob.**.**{*;}

#MTG混淆配置 大于等于5.1版本如果添加了MTG的aar以后需要添加
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.mintegral.** {*; }
-keep interface com.mintegral.** {*; }
-keep class android.support.v4.** { *; }
-dontwarn com.mintegral.**
-keep class **.R$* { public static final int mintegral*; }
-keep class com.alphab.** {*; }
-keep interface com.alphab.** {*; }

# miitmdid OAID配置混淆
-dontwarn com.bun.**
-keep class com.bun.** {*;}

-keep class s1.** { *; }
-keep class bsh.** {*; }
-keep class com.ksdk.** {*; }
-keep class com.ksdk.ppty.* {
    *;
}
