From 50ca52a6a5d26a6e00fde63d71321a08c42a56c0 Mon Sep 17 00:00:00 2001 From: Hamid Moazzami <53338603+mblcdr@users.noreply.github.com> Date: Tue, 19 Jul 2022 13:23:24 +0200 Subject: [PATCH] [IDENT-5322] Remove the proguard entries for removal of Log calls (#367) * Add level NONE to LogLevel to have a disabled state * Remove the proguard entry for removal of Log.* calls * More updates to proguard rules --- identhub-ui/consumer-rules.pro | 4 ---- identhub-ui/proguard-rules.pro | 6 +----- identhub/consumer-rules.pro | 4 ---- identhub/proguard-rules.pro | 4 ---- 4 files changed, 1 insertion(+), 17 deletions(-) diff --git a/identhub-ui/consumer-rules.pro b/identhub-ui/consumer-rules.pro index 91901038..c6dbed8b 100644 --- a/identhub-ui/consumer-rules.pro +++ b/identhub-ui/consumer-rules.pro @@ -4,10 +4,6 @@ -keep public class de.solarisbank.identhub.*.** { *;} # Remove log calls --assumenosideeffects class android.util.Log { - public static *** d(...); - public static *** e(...); -} -assumenosideeffects class timber.log.Timber { public static *** d(...); public static *** e(...); diff --git a/identhub-ui/proguard-rules.pro b/identhub-ui/proguard-rules.pro index e153f123..03a77b95 100644 --- a/identhub-ui/proguard-rules.pro +++ b/identhub-ui/proguard-rules.pro @@ -34,11 +34,7 @@ } # Remove log calls --assumenosideeffects class android.util.Log { - public static *** d(...); - public static *** e(...); -} --assumenosideeffects class timber.log.Timber { +-assumenosideeffects class Timber.log.Timber { public static *** d(...); public static *** e(...); } \ No newline at end of file diff --git a/identhub/consumer-rules.pro b/identhub/consumer-rules.pro index 7b52db68..b51c4e24 100644 --- a/identhub/consumer-rules.pro +++ b/identhub/consumer-rules.pro @@ -4,10 +4,6 @@ -keep public class de.solarisbank.identhub.*.** { *;} # Remove log calls --assumenosideeffects class android.util.Log { - public static *** d(...); - public static *** e(...); -} -assumenosideeffects class timber.log.Timber { public static *** d(...); public static *** e(...); diff --git a/identhub/proguard-rules.pro b/identhub/proguard-rules.pro index e153f123..e14b7082 100644 --- a/identhub/proguard-rules.pro +++ b/identhub/proguard-rules.pro @@ -34,10 +34,6 @@ } # Remove log calls --assumenosideeffects class android.util.Log { - public static *** d(...); - public static *** e(...); -} -assumenosideeffects class timber.log.Timber { public static *** d(...); public static *** e(...);