mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Configure diagnostics (and MapLibre) using Pkl. (#3820)
* Bump the version for the next release. * Ignore all generated sources. * Use Pkl+XcodeGen to inject secrets instead of the project. * Inject the PostHog/Sentry/Rageshake configuration from the environment. * Fix bad unicode. * Fix unit tests.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// swiftlint:disable all
|
||||
// Generated using SwiftGen — https://github.com/SwiftGen/SwiftGen
|
||||
|
||||
import Foundation
|
||||
|
||||
// swiftlint:disable superfluous_disable_command
|
||||
// swiftlint:disable file_length
|
||||
|
||||
// MARK: - YAML Files
|
||||
|
||||
// swiftlint:disable identifier_name line_length number_separator type_body_length
|
||||
internal enum Secrets {
|
||||
internal static let mapLibreAPIKey: String = "your_key"
|
||||
internal static let postHogAPIKey: String = "your_key"
|
||||
internal static let postHogHost: String = "https://posthog.localhost"
|
||||
internal static let rageshakeServerURL: String = "https://rageshake.localhost"
|
||||
internal static let sentryDSN: String = "https://sentry.localhost"
|
||||
}
|
||||
// swiftlint:enable identifier_name line_length number_separator type_body_length
|
||||
Reference in New Issue
Block a user