php-firebase-cloud-messaging
php-firebase-cloud-messaging copied to clipboard
PHP API for Firebase Cloud Messaging from Google
I have followed all the steps, as you suggested in read me file to send 'Send message to device' message. System responded as "{"multicast_id":3140234907049917302,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1598431478755153%27e9163c27e9163c"}]}" but i did not receive any...
For android 26+ setting sound doesn't work anymore. We need to create a channel on android. So, this code not gonna work on newer versions of android. `$notification->setSound('police.wav');` this will...
Hi, I'm trying to change the sound but it does not work. I think it only works the 'default': 1°) $notif->setSound('default'); 2°) $notif->setSound('ringtone'); 3°) $notif->setSound('siren'); I am using PHP 5.6
for php >=5.5 &&
in line 62, it is guzzleHttp object. But it is null `Fatal error: Uncaught Error: Call to a member function post() on null in /var/www/html/magento2/vendor/sngrl/php-firebase-cloud-messaging/src/Client.php:62 Stack trace: #0 ` i...
Hi all Possible to add something like this? That gives you information about a token... > public function tokenInfos($token) { > $url = 'https://iid.googleapis.com/iid/info/' . $token . '?details=true'; > >...
If I sent the notification to an individual devices as shown in the documentation, if the app is background and we click on it in the noitification section the app...
Could not find a version of package sngrl/php-firebase-cloud-messaging matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability. Tried to use in Slim 3 framework.