Browse Source

add shrinker rules to keep bouncycastle EC classes (#2542)

pull/2467/head
Konrad Pozniak 4 years ago committed by GitHub
parent
commit
b2f2ca6c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/proguard-rules.pro

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…
Cancel
Save