From bb06f1b9f67a73b8aef970924a3467063e8274cb Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 10 Aug 2022 23:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98,shouye=20ytuijian?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/proguard-rules.pro | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 23601ff11..135a165a8 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -35,3 +35,54 @@ boolean isLimitAdTrackingEnabled(); } -keep public class com.android.installreferrer.**{ *; } +-keep class * implements android.os.Parcelable.**{*;} +-keep class * implements android.os.Serializable.**{*;} +-dontwarn javax.annotation.** + +-dontwarn javax.inject.** + +# OkHttp3 + +-dontwarn okhttp3.logging.** + +-keep class okhttp3.internal.**{*;} + +-dontwarn okio.** + +# Retrofit + +-dontwarn retrofit2.** + +-keep class retrofit2.** { *; } + +-keepattributes Signature-keepattributes Exceptions + +# RxJava RxAndroid + +-dontwarn sun.misc.** + +-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* { + +long producerIndex; + +long consumerIndex; + +} + +-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef { + +rx.internal.util.atomic.LinkedQueueNode producerNode; + +} + +-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef { + +rx.internal.util.atomic.LinkedQueueNode consumerNode; + +} + +# Gson + +-keep class com.google.gson.stream.** { *; } + +-keepattributes EnclosingMethod