Closed AlexTodessa closed 2 months ago
sendMulticast gives same result
Important: The send methods described in this section were deprecated on June 21, 2023, and will be removed in June 2024. For protocol, instead use the standard HTTP v1 API send method, implementing your own batch send by iterating through the list of recipients and sending to each recipient's token. For Admin SDK methods, make sure to update to the next major version. See the Firebase FAQ for more information.
Guessing the only way now is to send one by one.
You need to upgrade to a newer version, preferably ^7.15
- the updated FCM Batch handling was introduced in 7.5, I think.
Ah, I just noticed in your original message that you already updated to the latest version. This is weird, it should definitely work. Can you confirm again that a composer show
lists 7.15 as being installed? You might have to do a composer update --with-all-dependencies
.
Upgrading to 7.15 fixed the issue :) indeed I upgraded to 7.1.0... Sorry for confusion, thank you!
We are using 5.x. Trying to upgrade to 7.x. This change affects other packages .
Thank you for identifying the fix.
Describe the bug
While trying to send notifications using batches (doesn't differ betwee 1 or 500), started to get a message 501 Operation is not implemented, or supported, or enabled.
Tried to update to latest release, which was 8 hours ago, but problem still is there. Worked previously, so definitely a change on firebase side.
Sending messages one by one works without issues.
Installed packages
PHP version and extensions
Steps to reproduce the issue.
Error message/Stack trace
Additional information
No response