| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- # Add project specific ProGuard rules here.
- # By default, the flags in this file are appended to flags specified
- # in E:\developSoftware\Android\SDK/tools/proguard/proguard-android.txt
- # You can edit the include path and order by changing the proguardFiles
- # directive in build.gradle.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
- # Add any project specific keep options here:
- # 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 *;
- #}
- # Proguard Cocos2d-x-lite for release
- -keep public class com.cocos.** { *; }
- -dontwarn com.cocos.**
- # Proguard Apache HTTP for release
- -keep class org.apache.http.** { *; }
- -dontwarn org.apache.http.**
- # Proguard okhttp for release
- -keep class okhttp3.** { *; }
- -dontwarn okhttp3.**
- -keep class okio.** { *; }
- -dontwarn okio.**
- # Proguard Android Webivew for release. you can comment if you are not using a webview
- -keep public class android.net.http.SslError
- -keep public class android.webkit.WebViewClient
- -keep public class com.google.** { *; }
- -dontwarn android.webkit.WebView
- -dontwarn android.net.http.SslError
- -dontwarn android.webkit.WebViewClient
- # This is generated automatically by the Android Gradle plugin.
- -dontwarn android.hardware.BatteryState
- -dontwarn android.hardware.lights.Light
- -dontwarn android.hardware.lights.LightState$Builder
- -dontwarn android.hardware.lights.LightState
- -dontwarn android.hardware.lights.LightsManager$LightsSession
- -dontwarn android.hardware.lights.LightsManager
- -dontwarn android.hardware.lights.LightsRequest$Builder
- -dontwarn android.hardware.lights.LightsRequest
- -dontwarn android.net.ssl.SSLSockets
- -dontwarn android.os.VibratorManager
- ## Log
- -assumenosideeffects class android.util.Log {
- public static *** d(...);
- public static *** v(...);
- public static *** w(...);
- public static *** i(...);
- public static *** wtf(...);
- }
- -assumenosideeffects class com.atmob.common.logging.AtmobLog {
- public static *** d(...);
- public static *** v(...);
- public static *** w(...);
- public static *** i(...);
- public static *** wtf(...);
- }
- ## native
- -keepclasseswithmembernames class * {
- native <methods>;
- }
- ## res
- -keepclassmembers class **.R$* {
- public static <fields>;
- }
- ## ViewBinding & DataBinding
- -keep class * implements androidx.viewbinding.ViewBinding {
- public inflate(android.view.LayoutInflater);
- public inflate(android.view.LayoutInflater, android.view.ViewGroup, boolean);
- }
- # common config end
- # RxJava start
- -dontwarn java.util.concurrent.Flow*
- # RxJava end
- # Glide start
- -keep public class * implements com.bumptech.glide.module.GlideModule
- -keep class * extends com.bumptech.glide.module.AppGlideModule {
- <init>(...);
- }
- -keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
- **[] $VALUES;
- public *;
- }
- -keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
- *** rewind();
- }
- # Glide end
- # ifly start
- -keep class com.iflytek.**{*;}
- -keepattributes Signature
- # ifly end
- # room bean start
- -keep class com.atmob.ai.data.local.bean.ChatHistoryBean{*;}
- # room bean end
- # Turbo start
- -keep class com.plutus.common.turbo.beans.** {*;}
- # Turbo end
- # bugly start
- -dontwarn com.tencent.bugly.**
- -keep public class com.tencent.bugly.**{*;}
- # bugly end
- # Umeng start
- -keep class com.umeng.** {*;}
- -keep class org.repackage.** {*;}
- -keepclassmembers class * {
- public <init> (org.json.JSONObject);
- }
- -keepclassmembers enum * {
- public static **[] values();
- public static ** valueOf(java.lang.String);
- }
- # Umeng end
- # RxJava start
- -dontwarn java.util.concurrent.Flow*
- # RxJava end
- #oaid miitmdid start
- -keep class com.bun.miitmdid.core.** {*;}
- -keep class com.bun.lib.**{*;}
- -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>;
- }
- #oaid miitmdid end
- #wechat start
- -keep class com.tencent.mm.opensdk.** {
- *;
- }
- -keep class com.tencent.wxop.** {
- *;
- }
- -keep class com.tencent.mm.sdk.** {
- *;
- }
- #wechat end
- #tencent aai start
- -keepclasseswithmembernames class * {
- native <methods>;
- }
- -keep public class com.tencent.aai.*
- -keep public class com.qq.wx.voice.*
- #tencent aai end
- #ucrop start
- -dontwarn com.yalantis.ucrop**
- -keep class com.yalantis.ucrop** { *; }
- -keep interface com.yalantis.ucrop** { *; }
- #ucrop end
- #tencent open sdk start
- -keep class com.tencent.**{*;}
- #tencent open sdk end
- -keep class org.libpag.** {*;}
- -keep class androidx.exifinterface.** {*;}
|