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:
2026-05-15 22:20:23 +02:00
parent 73edf9d816
commit 2688f22a6a
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -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")
}
}