24-12/31/1
This commit is contained in:
@@ -125,10 +125,10 @@ class FirebaseMessagesController extends GetxController {
|
||||
notificationController.showNotification(
|
||||
'Order', message.notification!.body!, 'Order');
|
||||
}
|
||||
} else if (message.notification!.title! == 'Accepted Ride') {
|
||||
} else if (message.notification!.title! == 'Accepted Ride'.tr) {
|
||||
if (Platform.isAndroid) {
|
||||
notificationController.showNotification(
|
||||
'Apply Order'.tr, 'Driver Applied the Ride for You'.tr, 'ding');
|
||||
'Accepted Ride'.tr, 'Driver Accepted the Ride for You'.tr, 'ding');
|
||||
}
|
||||
var passengerList = message.data['passengerList'];
|
||||
|
||||
|
||||
@@ -1956,8 +1956,8 @@ class MapPassengerController extends GetxController {
|
||||
final body = constructNotificationBody(driverData);
|
||||
// Log.print('body:ww ${body}');
|
||||
FirebaseMessagesController().sendNotificationToDriverMAP(
|
||||
'OrderSpeed',
|
||||
rideId,
|
||||
'Order'.tr,
|
||||
endNameAddress,
|
||||
driverData['token'].toString(),
|
||||
body,
|
||||
'order.wav');
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user