This commit is contained in:
Hamza Aleghwairyeen
2024-04-09 04:53:20 +03:00
parent f8610862f9
commit 56c0b7fd1d
9 changed files with 239 additions and 192 deletions

View File

@@ -25,7 +25,7 @@ class CallController extends GetxController {
channelName = Get.find<MapDriverController>().rideId; // 'sefer300'; //
remoteUid = int.parse(Get.find<MapDriverController>().passengerPhone);
uid = int.parse(box.read(BoxName.phoneDriver));
// initAgoraFull();
initAgoraFull();
}
initAgoraFull() async {
@@ -36,7 +36,7 @@ class CallController extends GetxController {
setupVoiceSDKEngine();
join();
FirebaseMessagesController().sendNotificationToPassengerToken(
'Call Income'.tr,
'Call Income',
'${'You have call from driver'.tr} ${box.read(BoxName.nameDriver)}',
Get.find<MapDriverController>().tokenPassenger,
[