add shrinker rules to keep bouncycastle EC classes (#2542)
This commit is contained in:
parent
5abb82004a
commit
b2f2ca6c22
1 changed files with 4 additions and 0 deletions
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
|
@ -82,6 +82,10 @@
|
|||
-keepattributes SourceFile,LineNumberTable
|
||||
-renamesourcefileattribute SourceFile
|
||||
|
||||
# Bouncy Castle -- Keep EC
|
||||
-keep class org.bouncycastle.jcajce.provider.asymmetric.EC$* { *; }
|
||||
-keep class org.bouncycastle.jcajce.provider.asymmetric.ec.KeyPairGeneratorSpi$EC
|
||||
|
||||
# remove all logging from production apk
|
||||
-assumenosideeffects class android.util.Log {
|
||||
public static *** getStackTraceString(...);
|
||||
|
|
Loading…
Reference in a new issue