Let enterprise build be able to override (or disable) the bug report URL.

This commit is contained in:
Benoit Marty 2025-08-08 15:17:00 +02:00
parent d292a52f63
commit d9b274b6cf
40 changed files with 266 additions and 78 deletions

View file

@ -25,9 +25,3 @@ object RageshakeConfig {
*/
const val MAX_LOG_UPLOAD_SIZE = 50 * 1024 * 1024L
}
/**
* Whether the rageshake feature is enabled.
*/
val RageshakeConfig.isEnabled: Boolean
get() = BUG_REPORT_URL.isNotEmpty() && BUG_REPORT_APP_NAME.isNotEmpty()