From 88b7c9898fd7121f3b59890f662c95f092ae13c8 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Fri, 12 Feb 2016 08:36:58 -0800 Subject: [PATCH] Making sure proguard is not removing anything from bouncy/spongycastle Some classes are only loaded dynamically and proguard would not see it. --- proguard-rules.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proguard-rules.pro b/proguard-rules.pro index 5a0ad26d..34a54376 100644 --- a/proguard-rules.pro +++ b/proguard-rules.pro @@ -29,4 +29,7 @@ -dontwarn io.netty.** -dontwarn org.spongycastle.** --keepattributes SourceFile,LineNumberTable +-keepattributes SourceFile,LineNumberTable,Signature + +-keep class org.spongycastle.** {*;} +-keep class org.bouncycastle.** {*;}