From beab84b5c349b440f3dbe0c45fd4a3b06bba7b35 Mon Sep 17 00:00:00 2001 From: Yaw Anokwa Date: Thu, 21 Feb 2019 17:57:46 -0800 Subject: [PATCH] proguard changes for okhttp --- collect_app/proguard-rules.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/collect_app/proguard-rules.txt b/collect_app/proguard-rules.txt index b405b7e9a14..b2abc75f63c 100644 --- a/collect_app/proguard-rules.txt +++ b/collect_app/proguard-rules.txt @@ -10,4 +10,11 @@ -keep class android.support.v7.widget.** { *; } -keep class com.google.android.gms.internal.firebase-perf.** { *; } --dontobfuscate \ No newline at end of file +-dontobfuscate + +# recommended okhttp rules +# https://github.com/square/okhttp#r8--proguard +-dontwarn javax.annotation.** +-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase +-dontwarn org.codehaus.mojo.animal_sniffer.* +-dontwarn okhttp3.internal.platform.ConscryptPlatform \ No newline at end of file