Update: 2026-07-09 15:01:29

This commit is contained in:
Hamza-Ayed
2026-07-09 15:01:29 +03:00
parent 87dc925ea7
commit d94808c380
@@ -509,6 +509,15 @@ class LoginController extends GetxController {
await storage.write(key: BoxName.fingerPrint, value: fingerPrint);
// تحديث التوكن والبصمة في الباك إند ليتمكن التستر من استقبال الإشعارات
await CRUD().post(
link: "${AppLink.server}/ride/firebase/addToken.php",
payload: {
'token': box.read(BoxName.tokenFCM).toString(),
'fingerPrint': fingerPrint.toString(),
'passengerID': box.read(BoxName.passengerID).toString(),
});
sendPassengerLocation();
Get.offAll(() => const MapPagePassenger());
} else {