Full wrapper around jc_sdk v2.16.5 with clean architecture: - 7 services covering 100% of jc_sdk public API (Client, Call, Device, Channel, Push, Net, Log) - Constructor injection with GetIt DI module (follows sca_treezor pattern) - VideocallSdkManager orchestrator for init/destroy lifecycle - VideocallSdkConfig abstract for environment-specific AppKey - Stream-based callbacks for reactive UI consumption - Riverpod providers (service + stream) for feature layer - AppKey configured per environment via dart-define-from-file - Integrated in init_app.dart alongside scaTreezorModule
12 lines
560 B
Dart
12 lines
560 B
Dart
abstract class Environment {
|
|
static const env = String.fromEnvironment('env', defaultValue: 'development');
|
|
static const apiBaseUrl = String.fromEnvironment('apiBaseUrl');
|
|
static const apiOrigin = String.fromEnvironment('apiOrigin');
|
|
static const wsUrl = String.fromEnvironment('wsUrl');
|
|
static const juphoonAppKey = String.fromEnvironment('juphoonAppKey');
|
|
|
|
// --- Fase 2: Firebase & Sentry ---
|
|
// static const sentryDsn = String.fromEnvironment('sentryDsn');
|
|
// static const firebaseProjectId = String.fromEnvironment('firebaseProjectId');
|
|
}
|