ios_app_v2/yobble/config.swift
2025-10-22 02:46:21 +03:00

27 lines
1.1 KiB
Swift

import SwiftUI
struct AppConfig {
static var DEBUG: Bool = true
//static let SERVICE = Bundle.main.bundleIdentifier ?? "default.service"
static let PROTOCOL = "https"
static let API_SERVER = "\(PROTOCOL)://api.yobble.org"
static let SOCKET_PATH = "/socket.io/"
static let SOCKET_HEARTBEAT_EVENT = "client_message"
static let USER_AGENT = "yobble ios"
static let APP_BUILD = "appstore" // appstore / freestore
static let APP_VERSION = "0.1"
static let DISABLE_DB = false
/// Controls whether incoming chat opens as a modal sheet (`true`) or navigates to Chats tab (`false`).
static let PRESENT_CHAT_AS_SHEET = false
/// Fallback SQLCipher key used until the user sets an application password.
static let DEFAULT_DATABASE_ENCRYPTION_KEY = "yobble_dev_change_me"
}
struct AppInfo {
static let text_1 = "\(NSLocalizedString("profile_down_text_1", comment: "")) yobble"
static let text_2 = "\(NSLocalizedString("profile_down_text_2", comment: "")) 0.1test"
static let text_3 = "\(NSLocalizedString("profile_down_text_3", comment: ""))2025"
}