Skip to content

Commit

Permalink
proguard config
Browse files Browse the repository at this point in the history
  • Loading branch information
koh-gt committed Sep 19, 2024
1 parent 18df80e commit c307fd9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions wallet/proguard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,17 @@
-dontnote okhttp3.internal.platform.AndroidPlatform,okhttp3.internal.platform.AndroidPlatform$CloseGuard
-dontnote okhttp3.internal.platform.Platform

# Keep OkHttp classes
-keep class com.squareup.okhttp.** { *; }
-keep class com.subgraph.orchid.TorClient { *; }
-keep class net.jcip.annotations.GuardedBy { *; }
-dontwarn com.squareup.okhttp.**

# Keep Orchid (Tor) classes
-keep class com.subgraph.orchid.** { *; }
-dontwarn com.subgraph.orchid.**

# Keep any annotations you are using
-keep class net.jcip.annotations.** { *; }
-dontwarn net.jcip.annotations.**

# Moshi
-dontnote com.squareup.moshi.**
Expand Down

0 comments on commit c307fd9

Please sign in to comment.