TF-3940 Fix cozy browser back issue

This commit is contained in:
DatDang
2025-08-05 09:25:03 +07:00
committed by Dat H. Pham
parent 6820ad147c
commit 2ef047061e
13 changed files with 149 additions and 50 deletions
+2
View File
@@ -75,4 +75,6 @@ class AppConfig {
static bool get isWebSocketEchoPingEnabled => dotenv.get('WS_ECHO_PING', fallback: 'false') == 'true';
static bool get isCozyIntegrationEnabled => dotenv.get('COZY_INTEGRATION', fallback: 'false') == 'true';
static String get cozyExternalBridgeVersion => dotenv.get('COZY_EXTERNAL_BRIDGE_VERSION', fallback: '0.16.1');
}
+1 -1
View File
@@ -11,7 +11,7 @@ class CozyIntegration {
try {
final cozyConfig = CozyConfigManager();
await cozyConfig.injectCozyScript();
await cozyConfig.injectCozyScript(AppConfig.cozyExternalBridgeVersion);
await cozyConfig.initialize();
} catch (e) {
logError('CozyIntegration::integrateCozy:Exception = $e');