// Version: 1.0.0 | Created: 2026-04-01
// App-wide constants. Change matrixBaseUrl for different environments.

/// Central configuration for the M8Chat application.
/// All server URLs and app-level constants live here — never scatter
/// magic strings through feature code.
abstract final class AppConfig {
  static const String matrixBaseUrl = 'https://matrix.m8chat.au';
  static const String matrixServerName = 'matrix.m8chat.au';
  static const String livekitJwtUrl =
      'https://matrix.m8chat.au/_matrix/livekit/jwt';
  static const List<String> turnUrls = [
    'turn:matrix.m8chat.au:3478',
    'turns:matrix.m8chat.au:5349',
  ];
  static const String appName = 'M8Chat';
  static const String appVersion = '1.0.0';

  // Secure storage key names
  static const String storageKeyAccessToken = 'access_token';
  static const String storageKeyUserId = 'user_id';
  static const String storageKeyDeviceId = 'device_id';
  static const String storageKeyHomeserver = 'homeserver';
}
