Food delivery driver module + masked calls + TURN

This commit is contained in:
Hamza-Ayed
2026-08-04 01:50:50 +03:00
parent 04c214bdf6
commit f01e408ba6
35 changed files with 3029 additions and 212 deletions
+17
View File
@@ -82,6 +82,23 @@ class AppLink {
}
}
/// سوكيت الطعام — قناة مستقلة تماماً عن سوكيت الرحلات (locationSocketUrl).
/// عملية منفصلة (food_socket.php) وبورت منفصل 4040، فانقطاع أحدهما لا يُسقط
/// الآخر: السائق يظل يستقبل الرحلات وإن سقط سوكيت الطعام والعكس.
/// nginx على المضيف يستمع 4040 بالشهادة ويمرّر إلى 14040 داخل دوكر.
static String get foodSocketUrl {
switch (currentCountry) {
case 'Syria':
return 'https://food-syria.siromove.com:4040';
case 'Egypt':
return 'https://food-egypt.siromove.com:4040';
case 'Jordan':
return 'https://jordan-siro.intaleqapp.com:4040';
default:
return 'https://jordan-siro.intaleqapp.com:4040';
}
}
static String get mapSaasRoute {
switch (currentCountry) {
case 'Syria':