pushok
pushok copied to clipboard
Updating a badge
As I see Alert have no option to set/update Badge value when sending notification. Is anyone know how to add it? Maybe I am missing something.
Hi, i set it like this:
$payload = Pushok\Payload::create();
$payload->setBadge(1);