Closed asiermusa closed 3 years ago
$event->response
Hi @voyula!
I know that $event has different type of properties as response, but is there any way to caught the $event->response as a json response in your controller for example?
Thanks
You can put the event response to a Laravel Cache key, and you can get the event response on Laravel Cache key after notify command on controller. But i think will work on only Queue Sync mode.
Hi!
It is possible to get the fcm response in the controller with API routes?
My controller:
The $fcm_response always is null, and I tried with Laravel Notification Events. With listeners I was able to catch the response in my laravel.log but not to send it as api call response param.
Does somebody know if it is possible to achieve this?