Fixes & Updates - 2026-06-01: Integrate Back-End v3 updates, fix call/connection issues across apps
This commit is contained in:
@@ -5,6 +5,17 @@ import 'package:Intaleq/controller/firebase/local_notification.dart';
|
||||
import 'package:Intaleq/controller/home/deep_link_controller.dart';
|
||||
import 'package:Intaleq/controller/local/local_controller.dart';
|
||||
import 'package:Intaleq/controller/functions/tts.dart';
|
||||
import 'package:Intaleq/controller/voice_call_controller.dart';
|
||||
|
||||
import 'package:Intaleq/controller/home/map/map_socket_controller.dart';
|
||||
import 'package:Intaleq/controller/home/map/map_engine_controller.dart';
|
||||
import 'package:Intaleq/controller/home/map/location_search_controller.dart';
|
||||
import 'package:Intaleq/controller/home/map/nearby_drivers_controller.dart';
|
||||
import 'package:Intaleq/controller/home/map/ride_lifecycle_controller.dart';
|
||||
import 'package:Intaleq/controller/home/map/ui_interactions_controller.dart';
|
||||
import 'package:Intaleq/controller/home/menu_controller.dart';
|
||||
import 'package:Intaleq/controller/functions/crud.dart';
|
||||
import 'package:Intaleq/controller/home/points_for_rider_controller.dart';
|
||||
|
||||
/// This is the central dependency injection file for the app.
|
||||
/// It uses GetX Bindings to make the app start faster and manage memory better.
|
||||
@@ -39,5 +50,19 @@ class AppBindings extends Bindings {
|
||||
|
||||
// TextToSpeechController for global accessibility
|
||||
Get.lazyPut(() => TextToSpeechController(), fenix: true);
|
||||
|
||||
// VoiceCallController for WebRTC calls
|
||||
Get.lazyPut(() => VoiceCallController(), fenix: true);
|
||||
|
||||
// Map & Ride controllers registered globally to prevent route-disposal race conditions.
|
||||
Get.put(MapSocketController(), permanent: true);
|
||||
Get.put(MapEngineController(), permanent: true);
|
||||
Get.put(LocationSearchController(), permanent: true);
|
||||
Get.put(NearbyDriversController(), permanent: true);
|
||||
Get.put(RideLifecycleController(), permanent: true);
|
||||
Get.put(UiInteractionsController(), permanent: true);
|
||||
Get.put(MyMenuController(), permanent: true);
|
||||
Get.put(CRUD(), permanent: true);
|
||||
Get.put(WayPointController(), permanent: true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user