- Updated the application namespace and ID from "net.ypchat.app" to "de.ypchat.android" for better alignment with branding. - Increased Gradle heap size settings to optimize build performance. - Disabled dependency constraints to simplify dependency management. - Removed obsolete files related to the previous application structure, including MainActivity, YpChatApp, and various core components, streamlining the codebase. These changes collectively enhance the application's configuration and structure, improving maintainability and performance.
12 lines
368 B
Swift
12 lines
368 B
Swift
import Foundation
|
|
|
|
enum AppConfig {
|
|
/// Entspricht `AppConfig.kt` / `BuildConfig.BASE_URL` (ohne trailing slash).
|
|
static var baseURL: String {
|
|
let raw =
|
|
Bundle.main.object(forInfoDictionaryKey: "BASE_URL") as? String
|
|
?? "https://www.ypchat.net"
|
|
return raw.trimmingCharacters(in: CharacterSet(charactersIn: "/"))
|
|
}
|
|
}
|