This commit is contained in:
Hamza-Ayed
2023-10-15 17:42:26 +03:00
parent 642820c55b
commit 2105de243c
9 changed files with 43 additions and 15 deletions

View File

@@ -181,16 +181,16 @@ class OrderRequestPage extends StatelessWidget {
box.read(BoxName.tokenDriver).toString(),
];
// print(bodyToPassenger);
FirebaseMessagesController()
.sendNotificationToPassengerToken(
'Apply Ride',
arguments['DriverList'][9].toString(),
arguments['DriverList'][9].toString(),
// box.read(BoxName.tokenDriver).toString(),
bodyToPassenger,
);
// FirebaseMessagesController()
// .sendNotificationToPassengerToken(
// 'Apply Ride',
// arguments['DriverList'][9].toString(),
// arguments['DriverList'][9].toString(),
// // box.read(BoxName.tokenDriver).toString(),
// bodyToPassenger,
// );
Get.back();
Get.to(() => PassengerLocationDirection(), arguments: {
Get.to(() => PassengerLocationMapPage(), arguments: {
'passengerLocation': myList[0].toString(),
'Duration': myList[4].toString(),
'Distance': myList[5].toString(),