Skip to content

Commit

Permalink
Proguard: Add rules for okhttp3.
Browse files Browse the repository at this point in the history
  • Loading branch information
murraycu committed Jul 27, 2017
1 parent eb1a4b9 commit 390e87e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/proguard-rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
-dontwarn com.google.android.gms.**
-dontwarn com.android.volley.toolbox.**

# OkHttp3:
-keepattributes Signature
-keepattributes *Annotation*
-keep class okhttp3.** { *; }
-keep interface okhttp3.** { *; }
-dontwarn okhttp3.**


# See https://square.github.io/retrofit/
# Platform calls Class.forName on types which do not exist on Android to determine platform.
Expand Down

0 comments on commit 390e87e

Please sign in to comment.