Closed artem-dev2 closed 1 week ago
So looks like right now I only fire the NotificationFailed
event which means you don't have an opportunity to inspect successful responses.
Do you want to test out this PR #212 in your app and see if dispatching NotificationSent
solves your issue?
I'm testing your PR the last two days and it works fine for me. Looking forward to have this marged to main branch.
Thanks for that - tagged 4.4.0
.
Looks like this release broke some backwards compatibility, and these events were previously fired by Laravel. You should be able to continue listening to the NotificationSent
event to handle the response as you need. I apologise for the mistake.
I need to capture and log the response from FCM (e.g., to verify successful delivery or log errors), but it seems there’s no direct way to access the response after sending a notification.
Could you please tell me if there is a way or a woraround on this to capture thr response, Thx.