-
Notifications
You must be signed in to change notification settings - Fork 94
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
Driver [fcm] not supported #19
Comments
Did you register the provider? |
Yes, sure. |
@greatsami what Laravel version you are on? did u try clearing out cache and if you are using queues/supervisor then try restarting them |
clean your bootstrap cache folder. |
Also for me. Driver [fcm] not supported |
We had the same issue on PHP 7.1.26. It might be a Laravel related issue, though. |
Same Issue. Any Update?? |
That's correct, there's no such driver as fcm. You need to pass the correct driver in your via method in notification class.
|
.ERROR: Driver [Benwilkins\FCM\FcmChannel] not supported |
+1 |
Same for me, solved it by adding the class FCMServiceProvider to config/app.php
|
We had the same issue on PHP 8.0. It might be a Laravel related issue, though. and Laravel version ^8.75. please help this solution solve |
config/app.php providers = [..., NotificationChannels\Fcm\FcmServiceProvider::class] after public function via($notifiable) |
Hi,
I installed the package in my project and i paste routeNotificationForFcm() in User model:
Is it right?
but when i try to send Notification i get this error
Driver [fcm] not supported. {"exception":"[object] (InvalidArgumentException(code: 0): Driver [fcm] not supported. at /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Manager.php:97)
how i can solve this error?
Thanks
The text was updated successfully, but these errors were encountered: