Skip to content

Commit

Permalink
Add ProGuard rules for Retrofit
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarSpruit committed Oct 2, 2023
1 parent f8d5bde commit 1250b64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example-app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@
# Temporary rules to fix an issue with the Cash App SDK
-dontwarn kotlinx.serialization.KSerializer
-dontwarn kotlinx.serialization.Serializable

# Temporary rules to fix an issue with Retrofit
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

0 comments on commit 1250b64

Please sign in to comment.