Update: 2026-07-04 18:43:56

This commit is contained in:
Hamza-Ayed
2026-07-04 18:43:57 +03:00
parent 3412f1b753
commit 3e0b4cbf64
65 changed files with 2260 additions and 118 deletions
@@ -51,7 +51,7 @@ Future<bool> onStart(ServiceInstance service) async {
print("✅ Background Service: Socket Connected! ID: ${socket?.id}");
// 🆕 طلب أي رحلات انتظار فاتتنا أثناء انقطاع الخدمة
socket.emit('get_pending_orders');
socket!.emit('get_pending_orders');
if (service is AndroidServiceInstance) {
flutterLocalNotificationsPlugin.show(