File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,19 +245,12 @@ If you are using ProGuard, the following config is required:
245245 public *;
246246}
247247
248- # Config for OkHttp and Okio
248+ # OkHttp/ Okio/Retrofit/Moshi
249249-dontwarn okio.**
250250-dontwarn javax.annotation.**
251-
252- # Config for Moshi
253- -keepclassmembers class ** {
254- @com.squareup.moshi.FromJson *;
255- @com.squareup.moshi.ToJson *;
256- }
257-
258- # Config for Retrofit
259251-dontnote retrofit2.Platform
260252-dontwarn retrofit2.Platform$Java8
253+ -dontwarn okhttp3.internal.platform.ConscryptPlatform
261254
262255-keepclasseswithmembers class * {
263256 @retrofit2.http.* <methods>;
@@ -266,6 +259,13 @@ If you are using ProGuard, the following config is required:
266259-keepclasseswithmembers interface * {
267260 @retrofit2.http.* <methods>;
268261}
262+
263+ -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
264+
265+ -keepclassmembers class ** {
266+ @com.squareup.moshi.FromJson *;
267+ @com.squareup.moshi.ToJson *;
268+ }
269269```
270270
271271### More
You can’t perform that action at this time.
0 commit comments