diff --git a/android-app/proguard-debug.cfg b/android-app/proguard-debug.cfg index 12a5e548..965e6ad2 100644 --- a/android-app/proguard-debug.cfg +++ b/android-app/proguard-debug.cfg @@ -85,37 +85,35 @@ #********************************************************************* # -# we need line numbers in our stack traces otherwise they are pretty useless --renamesourcefileattribute SourceFile --keepattributes SourceFile,LineNumberTable - -# ACRA needs "annotations" so add this... --keepattributes *Annotation* - # keep this class so that logging will show 'ACRA' and not a obfuscated name like 'a'. # Note: if you are removing log messages elsewhere in this file then this isn't necessary -keep class org.acra.ACRA { - *; + *; } --keep class org.acra.ReportField { - *; -} - - # keep this around for some enums that ACRA needs -keep class org.acra.ReportingInteractionMode { - *; + *; +} + +-keepnames class org.acra.sender.HttpSender$** { + *; +} + +-keepnames class org.acra.ReportField { + *; } # keep this otherwise it is removed by ProGuard -keep public class org.acra.ErrorReporter { -public void addCustomData(java.lang.String,java.lang.String); + public void addCustomData(java.lang.String,java.lang.String); + public void putCustomData(java.lang.String,java.lang.String); + public void removeCustomData(java.lang.String); } # keep this otherwise it is removed by ProGuard -keep public class org.acra.ErrorReporter { -public org.acra.ErrorReporter$ReportsSenderWorker handleSilentException(java.lang.Throwable); -} + public void handleSilentException(java.lang.Throwable); +} \ No newline at end of file diff --git a/android-app/proguard.cfg b/android-app/proguard.cfg index a62000ad..4931cac7 100644 --- a/android-app/proguard.cfg +++ b/android-app/proguard.cfg @@ -99,37 +99,35 @@ #********************************************************************* # -# we need line numbers in our stack traces otherwise they are pretty useless --renamesourcefileattribute SourceFile --keepattributes SourceFile,LineNumberTable - -# ACRA needs "annotations" so add this... --keepattributes *Annotation* - # keep this class so that logging will show 'ACRA' and not a obfuscated name like 'a'. # Note: if you are removing log messages elsewhere in this file then this isn't necessary -keep class org.acra.ACRA { - *; + *; } --keep class org.acra.ReportField { - *; -} - - # keep this around for some enums that ACRA needs -keep class org.acra.ReportingInteractionMode { - *; + *; +} + +-keepnames class org.acra.sender.HttpSender$** { + *; +} + +-keepnames class org.acra.ReportField { + *; } # keep this otherwise it is removed by ProGuard -keep public class org.acra.ErrorReporter { -public void addCustomData(java.lang.String,java.lang.String); + public void addCustomData(java.lang.String,java.lang.String); + public void putCustomData(java.lang.String,java.lang.String); + public void removeCustomData(java.lang.String); } # keep this otherwise it is removed by ProGuard -keep public class org.acra.ErrorReporter { -public org.acra.ErrorReporter$ReportsSenderWorker handleSilentException(java.lang.Throwable); -} + public void handleSilentException(java.lang.Throwable); +} \ No newline at end of file