pushok
pushok copied to clipboard
PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key)
Add return type to jsonSerialize call in payload to satisfy PHP 8.1 interfaces enforcement
The WeatherKit REST interface requires JWT tokens, similar to to those required for push notifications. I was wondering if a class for generating those could be added to this package...
Quick Question. Have a registered device, associated push token, and the pkpass certificate etc. and have used your library to send a push notification to trigger the device to request...
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.
refs: https://github.com/edamov/pushok/pull/146 ``` # php -v PHP 8.1.3 (cli) (built: Feb 16 2022 01:00:24) (NTS gcc x86_64) notice: Deprecated (8192): Return type of Pushok\Payload::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize():...
your app are great ! It is works perfectly ! i want to send a notification on a chosen date. is it possible to send a notification by planning a...
Hi , when I run: composer require edamov/pushok:* I get this message and cannot continue: PHP Warning: Module 'fileinfo' already loaded in Unknown on line 0 Do not run Composer...
Occasionally I receive duplicate pushes. I've verified that I'm only adding a unique array of notifications to different people. This doesn't happen every time, but ~ 1/10 ish. `new ApnsClient(....)->addNotifications(...)`
Hi! Good morning! Where should I verify that the request contains a valid token and that the token matches the environment ? I'm using the device token generated when I...
``` Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ^7.3 but your php version (8.0.10) does not satisfy that...