laravel-notification-channels / fcm

Firebase Cloud Messaging (FCM) notifications channel for Laravel
https://laravel-notification-channels.com/
MIT License
491 stars 126 forks source link

Driver [NotificationChannels\Fcm\FcmChannel] not supported when implementing ShouldQueue #67

Closed sncbtz closed 2 years ago

sncbtz commented 3 years ago

Hi,

I was implementing FcmChannel on a ShouldQueue notification but got Driver [NotificationChannels\Fcm\FcmChannel] error thrown and the notification was sent to mail and broadcast, but not to FcmChannel.

The error was fixed after removing ShouldQueue implementation from the notification class.

I don't know if this is an issue or should I use different notification classes? one for my queueable channels (email, broadcast) and one for the FcmChannel?

Thanks in advance.

DmitrySidorenkoShim commented 3 years ago

Hi,

I am having the same issue FCM notifications works perfect. But when I adding implements ShouldQueue and use Queueable; notifications are not working any more without any exceptions in my case. Queue Processed successfully but no any notifications and no any exceptions in the logs.

It would be awesome if you can fix this because ShouldQueue very important for sending out for example 10000 messages.

Thanks in advance.

joe94113 commented 3 years ago

Excuse me, has anyone solved the problem? thank

atymic commented 2 years ago

Closing due to inactivity, please open another issue si you are still having problems