diff --git a/anzid_gradle/shared_gradle_configuration_for_adroid_lib.gradle b/anzid_gradle/shared_gradle_configuration_for_adroid_lib.gradle index 0595c47..7529e3f 100644 --- a/anzid_gradle/shared_gradle_configuration_for_adroid_lib.gradle +++ b/anzid_gradle/shared_gradle_configuration_for_adroid_lib.gradle @@ -8,23 +8,23 @@ android { targetSdkVersion(30) } - buildTypes { - debug { - minifyEnabled false - } - release { - minifyEnabled false - } - } - - flavorDimensions "default" - productFlavors { - dev { - - } - prod { - - } - - } +// buildTypes { +// debug { +// minifyEnabled false +// } +// release { +// minifyEnabled false +// } +// } +// +// flavorDimensions "default" +// productFlavors { +// dev { +// +// } +// prod { +// +// } +// +// } } \ No newline at end of file diff --git a/utils/src/main/java/com/anzid/utils/helpers/AppSignatureSmsVerificationHelper.kt b/utils/src/main/java/com/anzid/utils/helpers/AppSignatureSmsVerificationHelper.kt index 71dbcd0..1aa2612 100644 --- a/utils/src/main/java/com/anzid/utils/helpers/AppSignatureSmsVerificationHelper.kt +++ b/utils/src/main/java/com/anzid/utils/helpers/AppSignatureSmsVerificationHelper.kt @@ -60,7 +60,7 @@ class AppSignatureSmsVerificationHelper(context: Context) { } fun loggedAppSignature() { - Log.v(TAG, "app signature hash for type-${BuildConfig.BUILD_TYPE} and flavor-${BuildConfig.FLAVOR} : $appSignature") + Log.v(TAG, "app signature hash for type-${BuildConfig.BUILD_TYPE} : $appSignature") } /** diff --git a/utils/src/main/java/com/anzid/utils/logs/AnzidLog.java b/utils/src/main/java/com/anzid/utils/logs/AnzidLog.java index c3e6bee..97d3cad 100644 --- a/utils/src/main/java/com/anzid/utils/logs/AnzidLog.java +++ b/utils/src/main/java/com/anzid/utils/logs/AnzidLog.java @@ -60,7 +60,6 @@ public static void wtf(Throwable t) { } public static void v(String message, Throwable t) { - if(BuildUtilKt.isPlayBuild()) return; if (loggers != null) { for (Logger logger : loggers) { logger.v(message, t); @@ -69,7 +68,6 @@ public static void v(String message, Throwable t) { } public static void d(String message, Throwable t) { - if(BuildUtilKt.isPlayBuild()) return; if (loggers != null) { for (Logger logger : loggers) { logger.d(message, t); @@ -78,7 +76,6 @@ public static void d(String message, Throwable t) { } public static void i(String message, Throwable t) { - if(BuildUtilKt.isPlayBuild()) return; if (loggers != null) { for (Logger logger : loggers) { logger.i(message, t); @@ -87,7 +84,6 @@ public static void i(String message, Throwable t) { } public static void w(String message, Throwable t) { - if(BuildUtilKt.isPlayBuild()) return; if (loggers != null) { for (Logger logger : loggers) { logger.w(message, t); @@ -96,7 +92,6 @@ public static void w(String message, Throwable t) { } public static void e(String message, Throwable t) { - if(BuildUtilKt.isPlayBuild()) return; if (loggers != null) { for (Logger logger : loggers) { logger.e(message, t); @@ -105,7 +100,6 @@ public static void e(String message, Throwable t) { } public static void wtf(String message, Throwable t) { - if(BuildUtilKt.isPlayBuild()) return; if (loggers != null) { for (Logger logger : loggers) { logger.wtf(message, t); diff --git a/utils/src/main/java/com/anzid/utils/utils/BuildUtil.kt b/utils/src/main/java/com/anzid/utils/utils/BuildUtil.kt index 1359de8..3e72af5 100644 --- a/utils/src/main/java/com/anzid/utils/utils/BuildUtil.kt +++ b/utils/src/main/java/com/anzid/utils/utils/BuildUtil.kt @@ -3,14 +3,6 @@ package com.anzid.utils.utils import com.anzid.utils.BuildConfig import com.anzid.utils.Constants -fun isInternalBuild() = BuildConfig.FLAVOR == Constants.FLAVOR_INTERNAL - -fun isPlayBuild() = BuildConfig.FLAVOR == Constants.FLAVOR_PLAY - fun isReleaseBuildType() = BuildConfig.BUILD_TYPE == Constants.BUILD_TYPE_RELEASE -fun isDebugBuildType() = BuildConfig.BUILD_TYPE == Constants.BUILD_TYPE_DEBUG - -fun isInternalRelease() = isInternalBuild() && isReleaseBuildType() - -fun isPlayRelease() = isPlayBuild() && isReleaseBuildType() \ No newline at end of file +fun isDebugBuildType() = BuildConfig.BUILD_TYPE == Constants.BUILD_TYPE_DEBUG \ No newline at end of file