add new features like realtime 2026-05-29-01
This commit is contained in:
@@ -94,8 +94,9 @@ try {
|
|||||||
$passengerTokenRow = $stmtToken->fetch();
|
$passengerTokenRow = $stmtToken->fetch();
|
||||||
|
|
||||||
if ($passengerTokenRow && !empty($passengerTokenRow['token'])) {
|
if ($passengerTokenRow && !empty($passengerTokenRow['token'])) {
|
||||||
|
$decryptedToken = $encryptionHelper->decryptData($passengerTokenRow['token']);
|
||||||
sendFcmNotification(
|
sendFcmNotification(
|
||||||
$passengerTokenRow['token'],
|
$decryptedToken,
|
||||||
'Incoming Call',
|
'Incoming Call',
|
||||||
'Incoming WebRTC voice call',
|
'Incoming WebRTC voice call',
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -99,8 +99,9 @@ try {
|
|||||||
$driverTokenRow = $stmtToken->fetch();
|
$driverTokenRow = $stmtToken->fetch();
|
||||||
|
|
||||||
if ($driverTokenRow && !empty($driverTokenRow['token'])) {
|
if ($driverTokenRow && !empty($driverTokenRow['token'])) {
|
||||||
|
$decryptedToken = $encryptionHelper->decryptData($driverTokenRow['token']);
|
||||||
sendFcmNotification(
|
sendFcmNotification(
|
||||||
$driverTokenRow['token'],
|
$decryptedToken,
|
||||||
'Incoming Call',
|
'Incoming Call',
|
||||||
'Incoming WebRTC voice call',
|
'Incoming WebRTC voice call',
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user