I am working on sending notification to ios. Notification without image is working perfectly but not with image. When i search the solution, they all say like set 'mutable-content' => true. yeah, but how? I may be so dumb enough not to understand what that actually means. the params I sent is this ..
$arr = ['type' => 'msg', 'data' => '', 'text' => 'Hello', 'image_url' => ''];
$fields = array(
'to' => '/topics/iostest',
'notification' => $arr,
'mutable-content'=> 1,
'priority' => 'high'
);
Ios only read the 'notification' and receive like ..
'aps': {
alert : 'Hello'
}
not receiving 'mutable-content' ... the people who work on both ios and php can solve this, i hope. please help. thanks.