laravel-fcm-notification
laravel-fcm-notification copied to clipboard
Laravel FCM (Firebase Cloud Messaging) Notification Channel
`composer require benwilkins/laravel-fcm-notification:dev-master` **After running this command it will crash my project** After that composer dump-autoload is also stopped working. **FYI:** This is run in Xampp, Laravel version is 5.6,...
Sometimes I unexpectly got two cURL errors Here's my code: ``` class WelcomeNotification extends Notification { public function via($notifiable) { return ['fcm']; } public function toFcm($notifiable) { $message = new...
When I return false in toFcm($notifiable) of notification file, then this error comes. I am migrating from GCM to FCM, in previous implementation GCM does not generate the error. [Symfony\Component\Debug\Exception\FatalThrowableError]...
Can i install the library on the recent version of lumen. If so how to do it ??
Any idea how I can associate the listener result back to the notification sent? Basically after sending multiple notifications, I want to find out how many success and failure for...
`use Benwilkins\FCM\FcmMessage; ... public function toFcm($notifiable) { $message = new FcmMessage(); $message->setHeaders([ 'project_id' => "48542497347" // FCM sender_id ])->content([ 'title' => 'Foo', 'body' => 'Bar', 'sound' => '', // Optional...
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 9.x. **Before merging**, you need to: - Checkout the `l10-compatibility`...
Hi, Can you add support for Laravel 10? Regards