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 3b35d96e1a
commit 4b9c9ccb7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

@ -1 +1 @@
Subproject commit 665a15a1907a116816ffd1653bccfeaeeb7a2968
Subproject commit 0299b8ec4f4233a39230d4c35b97f89728c35fd1

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
}