Skip to content

Commit 4b9c9cc

Browse files
authored
Push gateway config (#4608)
* Read PushProvidersConfig parameter from BuildTimeConfig * Update submodule link.
1 parent 3b35d96 commit 4b9c9cc

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

enterprise

plugins/src/main/kotlin/ModulesConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import config.PushProvidersConfig
1111

1212
object ModulesConfig {
1313
val pushProvidersConfig = PushProvidersConfig(
14-
includeFirebase = true,
15-
includeUnifiedPush = true,
14+
includeFirebase = BuildTimeConfig.PUSH_CONFIG_INCLUDE_FIREBASE,
15+
includeUnifiedPush = BuildTimeConfig.PUSH_CONFIG_INCLUDE_UNIFIED_PUSH,
1616
)
1717

1818
val analyticsConfig: AnalyticsConfig = if (isEnterpriseBuild) {

plugins/src/main/kotlin/config/BuildTimeConfig.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@ object BuildTimeConfig {
3131
val SERVICES_SENTRY_DSN: String? = null
3232
val BUG_REPORT_URL: String? = null
3333
val BUG_REPORT_APP_NAME: String? = null
34+
35+
const val PUSH_CONFIG_INCLUDE_FIREBASE = true
36+
const val PUSH_CONFIG_INCLUDE_UNIFIED_PUSH = true
3437
}

0 commit comments

Comments
 (0)