Thanks Erel
Silent push notifications should work for me, what do I need to modify in my PHP code to make this work ?
p.s. I still need it to send "Title" and "Body" as these trigger routines in the Apps
[CODE lang="php" title="Firebase"] if(strStartsWith($topic, 'ios_')){
// B4i
$badge = 0;
$iosalert = array('title' => $dataArray['title'], 'body' => $dataArray['body']);
$customMessageFields['notification'] = $iosalert;
$customMessageFields['apns'] = array(
'headers' => array('apns-priority' => '10'),
'payload' => array('aps' => array('sound' => 'default', 'badge' => $badge))
);
$data->setCustomData($dataArray, $customMessageFields);
$fcmClient->build($recipient, null, $data);
return $fcmClient->fire();
} [/CODE]