Implement sending logs to developer (#190)
* Save logs to a file * Send logs via email * Enable network logs in release builds * Remove useless chooser title * Append to logs file and ignore I/O errors * Ensure email and password are not logged * Ensure base URL is never logged * Add logs disclaimer
This commit is contained in:
@@ -7,7 +7,7 @@ plugins {
|
||||
|
||||
android {
|
||||
defaultConfig {
|
||||
buildConfigField("Boolean", "LOG_NETWORK", "false")
|
||||
buildConfigField("Boolean", "LOG_NETWORK", "true")
|
||||
consumerProguardFiles("consumer-proguard-rules.pro")
|
||||
}
|
||||
namespace = "gq.kirmanak.mealient.datasource"
|
||||
@@ -31,7 +31,7 @@ dependencies {
|
||||
|
||||
implementation(platform(libs.okhttp3.bom))
|
||||
implementation(libs.okhttp3.okhttp)
|
||||
debugImplementation(libs.okhttp3.loggingInterceptor)
|
||||
implementation(libs.okhttp3.loggingInterceptor)
|
||||
|
||||
implementation(libs.ktor.core)
|
||||
implementation(libs.ktor.auth)
|
||||
|
||||
Reference in New Issue
Block a user