10/10/1
This commit is contained in:
@@ -158,8 +158,16 @@ class FirebaseMessagesController extends GetxController {
|
||||
// Get.to(const VipOrderPage());
|
||||
} else if (message.notification!.title! == 'message From passenger'.tr) {
|
||||
passengerDialog(message.notification!.body!);
|
||||
if (Platform.isAndroid) {
|
||||
NotificationController()
|
||||
.showNotification('message From passenger'.tr, ''.tr, 'ding', '');
|
||||
}
|
||||
} else if (message.notification!.title == 'Cancel') {
|
||||
cancelTripDialog1();
|
||||
if (Platform.isAndroid) {
|
||||
NotificationController()
|
||||
.showNotification('Cancel'.tr, ''.tr, 'cancel', '');
|
||||
}
|
||||
} else if (message.notification!.title! == 'token change') {
|
||||
// NotificationController1()
|
||||
// .showNotification('token change'.tr, 'token change', 'cancel');
|
||||
@@ -167,7 +175,7 @@ class FirebaseMessagesController extends GetxController {
|
||||
GoogleSignInHelper.signOut();
|
||||
} else if (message.notification!.title! == 'face detect') {
|
||||
if (Platform.isAndroid) {
|
||||
NotificationController1()
|
||||
NotificationController()
|
||||
.showNotification('face detect'.tr, ''.tr, 'tone2', '');
|
||||
}
|
||||
String result0 = await faceDetector();
|
||||
|
||||
Reference in New Issue
Block a user