mirror of
https://github.com/Michatec/Radio.git
synced 2026-05-31 03:02:39 +02:00
chore(app): add IS_DEBUG_ENABLED build config field
Introduce a `IS_DEBUG_ENABLED` boolean flag in `BuildConfig` for both debug and release build types. This flag is used to suppress update notifications in `PlayerFragment` when debugging and before its a version released.
This commit is contained in:
@@ -31,6 +31,7 @@ android {
|
||||
isCrunchPngs = false
|
||||
proguardFiles.addAll(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), file("proguard-rules.pro")))
|
||||
applicationIdSuffix = ".debug"
|
||||
buildConfigField("boolean", "IS_DEBUG_ENABLED", "true")
|
||||
}
|
||||
|
||||
release {
|
||||
@@ -38,6 +39,7 @@ android {
|
||||
isShrinkResources = true
|
||||
isCrunchPngs = true
|
||||
proguardFiles.addAll(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), file("proguard-rules.pro")))
|
||||
buildConfigField("boolean", "IS_DEBUG_ENABLED", "true")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user