how to set content_available option for ios notification
waleedazam opened this issue · comments
I try to add new option in IOS notification its called content_available
how to add it to notification to run it in background
Regards
Add it as a data attribute:
$message
->setNotification(new Notification('some title', 'some body'))
->setData(['content_available' => 'value'])
;
`
Hi @waleedazam Check out the latest version, it should solve your problem ;)