Push gateway config (#4608)

* Read PushProvidersConfig parameter from BuildTimeConfig

* Update submodule link.
This commit is contained in:
Benoit Marty
2025-04-22 13:58:12 +02:00
committed by GitHub
parent 9a24906e88
commit cd65d121f8
3 changed files with 6 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ import config.PushProvidersConfig
object ModulesConfig {
val pushProvidersConfig = PushProvidersConfig(
includeFirebase = true,
includeUnifiedPush = true,
includeFirebase = BuildTimeConfig.PUSH_CONFIG_INCLUDE_FIREBASE,
includeUnifiedPush = BuildTimeConfig.PUSH_CONFIG_INCLUDE_UNIFIED_PUSH,
)
val analyticsConfig: AnalyticsConfig = if (isEnterpriseBuild) {

View File

@@ -31,4 +31,7 @@ object BuildTimeConfig {
val SERVICES_SENTRY_DSN: String? = null
val BUG_REPORT_URL: String? = null
val BUG_REPORT_APP_NAME: String? = null
const val PUSH_CONFIG_INCLUDE_FIREBASE = true
const val PUSH_CONFIG_INCLUDE_UNIFIED_PUSH = true
}