-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathproguard-rules.pro
More file actions
42 lines (32 loc) · 1.06 KB
/
proguard-rules.pro
File metadata and controls
42 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-dontobfuscate
-android
# Keep everything in kept classes and enums, because I'm tired of this.
#-keepclassmembers class ** { *; }
-keepclassmembers class io.tokend.template.** { *; }
-keepclassmembers class org.tokend.sdk.** { *; }
-keepclassmembers enum ** { *; }
-keepattributes **
# class [META-INF/versions/9/module-info.class] unexpectedly contains class [module-info]
-dontwarn module-info
# ProGuard issues
# https://sourceforge.net/p/proguard/bugs/573/
-optimizations !class/unboxing/enum
-optimizations !method/removal/parameter
# Somthing general
-dontwarn javax.annotation.**
# SVG library
-dontwarn com.caverock.androidsvg.**
# --- TokenD SDK ---
# Crypto
-dontwarn net.i2p.crypto.**
-keep class net.i2p.crypto.** { *; }
# JSONAPI and Jackson
-dontwarn com.fasterxml.**
-keep class com.fasterxml.** { *; }
-keep class com.github.jasminb.jsonapi.** { *; }
-keep @interface kotlin.Metadata { *; } # Very important
-keep class kotlin.reflect.** { *; }
# Wallet
-keep class org.tokend.wallet.xdr.* { *; }
-dontnote org.tokend.wallet.xdr.*
# ------------------