Closed xu5pu closed 1 month ago
Please update to the latest 7.x release, this should fix the issue.
Latest 2 weeks my app didn't receive notifications. The package was 6.9.6 version, and after update to the latest 7.15.0 it works again! Thanks. Although I'm not sure why it stop because it worked for over a year. I guess it's something with the Firebase API?!
Yes, Firebase has introduced the so-called "HTTP V1 API" and deprecated and then shut down the now-legacy API.
This SDK supported the new API for sending single messages right away, but I held off of batch requests because it would it would mean rewriting the part, and at the time, I was so frustrated with the lack of support (= Sponsorships) that I didn't want to commit the time.
When Firebase announced that it would shut down the legacy API I did it anyway because my fellow devs shouldn't suffer for their employers not caring about funding the Open Source projects they used. But because I had already released a new major version, I only implemented in a version 7 release, and kept the option to backport the change to 6.x for paid support.
But I'm glad you did the upgrade and that it worked well for you! Every upgrade to a new version is a win in my book 🤗
Thanks a lot for keep contributing and developing further. I'll have a look at the repo and Firebase changes to see changes and examine things. Have a good day.
Describe the bug
php 8.0 laravel 9 kreait/firebase-php 6.9.6
$report = $messaging->sendMulticast($message,$fcmToken);
Operation is not implemented, or supported, or enabled.Installed packages
PHP version and extensions
Steps to reproduce the issue.
Error message/Stack trace
Additional information
No response