-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Possible Bug] sendMulticast isn't working anymore. #50
Comments
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
The text was updated successfully, but these errors were encountered: