Closed danvaly closed 2 years ago
Hey there, and thanks for providing your list of installed dependencies - this helped my find https://github.com/laravel-notification-channels/fcm/pull/116 - it seems to be an issue with the notification channel, that three targets are passed to the CloudMessage
although it accepts only one - you can find some workarounds in the PR comments.
The check in the SDK is three years old and justified.
So, unfortunately, unless I'm missing something there's nothing for me to fix.
Describe the issue you are experiencing
Hi, I try to send a message trough the latest version of firebase-php.
Problem is that the error from title is raised on the following file :
src/Firebase/Messaging/CloudMessage.php
on line 73The error is because is checking to have only one type but always it receive all of them with null values. Can you check it please?
Installed packages
PHP version and extensions
On which operating system(s) does the issue occur?
Steps to reproduce the issue.
Error message/Stack trace
Additional information
No response