Closed MarkDaleman closed 1 year ago
I don't support this version of the package anymore (the package version is not current, the underlying SDK version is not supported anymore, and the PHP version is not supported anymore), also the way of sending multicast messages in this version has been deprecated by Firebase.
The current version of the SDK uses a different method to send the same message to different devices, that should work because it uses the same endpoint for sending a message to a single or multiple devices.
if possible, please update to the latest version. If that's not possible. If it isn't possible, see https://github.com/kreait/firebase-php#support-for-older-versions-of-the-sdk - backporting the new method of sending the same message to multiple devices would take me approximately 4 hours, so I could do it after a one-time sponsorship of $400.
Hello @jeromegamez. Thank you very much for the quick reply, appreciate it!
I kinda missed that the support for 7.4.* has been dropped. I think we're going to upgrade this platform to php8.1 and symfony 6.3.3.. since this project is new, that should be fairly easy to do.
Thanks!
It's good to see that the upgrade is possible, thank you for the feedback!
Oh, and let me know if the problem persists!
Describe the bug
Sending a single message works just fine. for example:
The above example is able to send a notification to my phone device, nice!
However, sending with
sendMulticast
doesn't work. I've tried it like this:The report yields:
The report says that the notification is sent, however nothing happens on my phone..
Installed packages
PHP version and extensions
Steps to reproduce the issue.
Error message/Stack trace
Additional information
No response