NotificationPusher
NotificationPusher copied to clipboard
Standalone PHP library for easy devices notifications push.
If I use this library for instant messaging on APNS , will it throttle me ? If it keeps reconnecting on each push call , apple will throttle requests
the batch size is always 100 per push. if i send 200, the sending will be split in two, and when everything is complete, the response will not contain the...
In GCM adapter, in the push function you chunk the tokens per 100. When you iterate over the chunks, you store the response of the `client->send()` in `$this->response`, **but** if...
When the class calls this function ``` private function checkDevicesTokens() { $devices = $this->getDevices(); $adapter = $this->getAdapter(); foreach ($devices as $device) { if (false === $adapter->supports($device->getToken())) { throw new AdapterException(...
$message = new Message('This is push.', array( 'badge' => 2, mutable-content=>true))
We have in our travis build ``` - php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover ``` Do we still need this? Repository doesn't exist on https://scrutinizer-ci.com/
Hello, I was wondering if it would be possible to send 'silent' notifications. So notifications that basically skip the devices' notification center in both Android and iOS. Any idea how?...
There's a case that a registration_id might be returned from the GCM response, in order to replace the corresponding device token. How could I get that registration_id if exists by...
I am sure that it worked before, but recently I found the following log in laravel.log. ``` local.ERROR: exception 'Sly\NotificationPusher\Exception\PushException' with message '400 Bad Request; invalid message' in /mnt/home/apache/....../vendor/sly/notification-pusher/src/Sly/NotificationPusher/Adapter/Gcm.php:72 ```...
`Deprecation Notice: Class Sly\Sly\NotificationPusher\Adapter\ApnsAPI located in ./vendor/sly/notification-pusher/src/Sly/NotificationPusher/Adapter/ApnsAPI.php does not comply with psr-4 autoloading standard` https://github.com/Ph3nol/NotificationPusher/blob/master/src/Sly/NotificationPusher/Adapter/ApnsAPI.php#L9