* Add handy extension "VariantDimension.buildConfigFieldStr" * Update configuration for MapTiler. * Update configuration for Sentry. * Build AnalyticsConfig depending on analytics configuration. * Configure analytics policy url. * Add handy extension "VariantDimension.buildConfigFieldBoolean" * Configure legal urls. * Add a way to disable rageshake / reporting bugs. * Update screenshots * Quality * Fix test * Use `ifBlank` extension * Add missing configuration for PostHog * Update configuration for Rageshake. * Add build log. * Disable crash detection if rageshake feature is not available. Disabled twice. * Hide link to analytics policy if the link is missing. * Fix test when run in enterprise context. * Use RageshakeFeatureAvailability where appropriate. * Rename file. * Move some classes to their correct module. * Update screenshots --------- Co-authored-by: ElementBot <android@element.io>
34 lines
1.3 KiB
Kotlin
34 lines
1.3 KiB
Kotlin
/*
|
|
* Copyright 2025 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
package config
|
|
|
|
object BuildTimeConfig {
|
|
const val APPLICATION_ID = "io.element.android.x"
|
|
const val APPLICATION_NAME = "Element X"
|
|
const val GOOGLE_APP_ID_RELEASE = "1:912726360885:android:d097de99a4c23d2700427c"
|
|
const val GOOGLE_APP_ID_DEBUG = "1:912726360885:android:def0a4e454042e9b00427c"
|
|
const val GOOGLE_APP_ID_NIGHTLY = "1:912726360885:android:e17435e0beb0303000427c"
|
|
|
|
val METADATA_HOST: String? = null
|
|
val URL_WEBSITE: String? = null
|
|
val URL_LOGO: String? = null
|
|
val URL_COPYRIGHT: String? = null
|
|
val URL_ACCEPTABLE_USE: String? = null
|
|
val URL_PRIVACY: String? = null
|
|
val URL_POLICY: String? = null
|
|
val SUPPORT_EMAIL_ADDRESS: String? = null
|
|
val SERVICES_MAPTILER_BASE_URL: String? = null
|
|
val SERVICES_MAPTILER_APIKEY: String? = null
|
|
val SERVICES_MAPTILER_LIGHT_MAPID: String? = null
|
|
val SERVICES_MAPTILER_DARK_MAPID: String? = null
|
|
val SERVICES_POSTHOG_HOST: String? = null
|
|
val SERVICES_POSTHOG_APIKEY: String? = null
|
|
val SERVICES_SENTRY_DSN: String? = null
|
|
val BUG_REPORT_URL: String? = null
|
|
val BUG_REPORT_APP_NAME: String? = null
|
|
}
|